CVSROOT: logdiff.pl - aaah, this way...
qboosh
qboosh at pld-linux.org
Tue Nov 6 01:16:49 CET 2007
Author: qboosh Date: Tue Nov 6 00:16:49 2007 GMT
Module: CVSROOT Tag: HEAD
---- Log message:
- aaah, this way...
---- Files affected:
CVSROOT:
logdiff.pl (1.45 -> 1.46)
---- Diffs:
================================================================
Index: CVSROOT/logdiff.pl
diff -u CVSROOT/logdiff.pl:1.45 CVSROOT/logdiff.pl:1.46
--- CVSROOT/logdiff.pl:1.45 Tue Nov 6 01:12:53 2007
+++ CVSROOT/logdiff.pl Tue Nov 6 01:16:44 2007
@@ -254,21 +254,19 @@
}
}
-print STDERR "@ARGV";
-if(@ARGV == 1) {
+if(!@ARGV) {
# single arg, assume the old way ("PATH {FILE,rev1,rev2 }+")
- @ARGVX = shift @ARGV;
- @files1 = split(/ /, $ARGVX[0]);
+ @ARGVX = $arg;
+ @files1 = split(/ /, $arg);
@path = split('/', shift @files1);
$oldstyle = 1;
} else {
# assume the new way ("PATH" {"FILE" "rev1" "rev2"}+)
- @path = split('/', shift @ARGV);
+ @path = split('/', $arg);
@ARGVX = $ARGV[0];
@files1 = @ARGV;
$oldstyle = 0;
}
-print STDERR "@files1";
## XXX there are some ugly assumptions in here about module names and
## XXX directories relative to the $CVSROOT location -- really should
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/CVSROOT/logdiff.pl?r1=1.45&r2=1.46&f=u
More information about the pld-cvs-commit
mailing list