summaryrefslogtreecommitdiff
path: root/bin/19commit
diff options
context:
space:
mode:
Diffstat (limited to 'bin/19commit')
-rwxr-xr-xbin/19commit26
1 files changed, 0 insertions, 26 deletions
diff --git a/bin/19commit b/bin/19commit
deleted file mode 100755
index 0b4cd05..0000000
--- a/bin/19commit
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/perl
-
-# usage: 19commit 'log message' filename filename ...
-
-use Cwd;
-use String::ShellQuote;
-
-my $USER = $ENV{USER};
-
-my $dir = getcwd;
-( my $prefix = $dir ) =~ s(^/home/$USER/freeside/?)() or die $dir; #eventually from anywhere
-
-my $desc = shell_quote(shift @ARGV); # -m
-
-die "no files!" unless @ARGV;
-
-#warn "$prefix";
-
-#print <<END;
-system join('',
- "( cd /home/$USER/freeside1.9/$prefix; cvs update @ARGV ) && ",
- "cvs diff -u @ARGV | ( cd /home/$USER/freeside1.9/$prefix; patch -p0 ) ",
- " && ( ( cvs commit -m $desc @ARGV & ); ",
- "( sleep 1;cd /home/$USER/freeside1.9/$prefix; cvs commit -m $desc @ARGV & ) )"
-);
-