[llvm-commits] CVS: CVSROOT/commit-diffs.pl
Misha Brukman
brukman at cs.uiuc.edu
Mon Jun 30 14:06:01 PDT 2003
Changes in directory CVSROOT:
commit-diffs.pl updated: 1.36 -> 1.37
---
Log message:
Get the contents of a new file even if committed on a branch.
How: stop hard-coding revision number 1.1 into the `cvs diff' command line,
use the version number gotten from the cvs commit command.
---
Diffs of the changes:
Index: CVSROOT/commit-diffs.pl
diff -u CVSROOT/commit-diffs.pl:1.36 CVSROOT/commit-diffs.pl:1.37
--- CVSROOT/commit-diffs.pl:1.36 Sun Jun 22 15:28:10 2003
+++ CVSROOT/commit-diffs.pl Mon Jun 30 14:04:22 2003
@@ -109,7 +109,7 @@
$subject .= "$m->{'filename'} ";
if ($m->{'type'} eq 'add') {
$msg .= "$m->{'filename'} added (r$m->{'newrev'})\n";
- $diffs .= `cvs -Qf rdiff -r0 -r1.1 $changedir/$m->{'filename'} 2> /dev/null` . "\n\n";
+ $diffs .= `cvs -Qf rdiff -r0 -r$newrev $changedir/$m->{'filename'} 2> /dev/null` . "\n\n";
} elsif ($m->{'type'} eq 'rm') {
$msg .= "$m->{'filename'} (r$m->{'oldrev'}) removed\n";
} else {
More information about the llvm-commits
mailing list