summaryrefslogtreecommitdiff
path: root/bin/21commit
diff options
context:
space:
mode:
authorivan <ivan>2011-08-05 19:19:06 +0000
committerivan <ivan>2011-08-05 19:19:06 +0000
commit044023db4dadfd8c12638d95bf775203a8c47396 (patch)
tree8dea444a037d724b261e51b612297e2dadf9c3de /bin/21commit
parente91533fe47b1dbb026bf610f71213119a6da3e71 (diff)
remove these so they're not accidentally used
Diffstat (limited to 'bin/21commit')
-rwxr-xr-xbin/21commit26
1 files changed, 0 insertions, 26 deletions
diff --git a/bin/21commit b/bin/21commit
deleted file mode 100755
index 849de21b6..000000000
--- a/bin/21commit
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/perl
-
-# usage: 21commit '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/freeside2.1/$prefix; cvs update @ARGV ) && ",
- "cvs diff -u @ARGV | ( cd /home/$USER/freeside2.1/$prefix; patch -p0 ) ",
- " && ( ( cvs commit -m $desc @ARGV & ); ",
- "( sleep 1;cd /home/$USER/freeside2.1/$prefix; cvs commit -m $desc @ARGV & ) )"
-);
-