[llvm-commits] CVS: CVSROOT/commit-diffs.pl

Alkis Evlogimenos alkis at cs.uiuc.edu
Tue Mar 30 15:32:01 PST 2004


Changes in directory CVSROOT:

commit-diffs.pl updated: 1.58 -> 1.59

---
Log message:

Use 'cvs diff' instead of 'cvs rdiff' as the latter does not support the '-w' option


---
Diffs of the changes:  (+2 -2)

Index: CVSROOT/commit-diffs.pl
diff -u CVSROOT/commit-diffs.pl:1.58 CVSROOT/commit-diffs.pl:1.59
--- CVSROOT/commit-diffs.pl:1.58	Tue Mar 30 15:29:30 2004
+++ CVSROOT/commit-diffs.pl	Tue Mar 30 15:31:43 2004
@@ -114,12 +114,12 @@
   $filePath .= "$m->{'filename'} ";
   if ($m->{'type'} eq 'add') {
     $msg .= "$m->{'filename'} added (r$m->{'newrev'})\n";
-    $diffs .= `cvs -Qf rdiff -r0 -r$m->{'newrev'} $changedir/$m->{'filename'} 2> /dev/null` . "\n\n";
+    $diffs .= `cvs -Qf diff -r0 -r$m->{'newrev'} $changedir/$m->{'filename'} 2> /dev/null` . "\n\n";
   } elsif ($m->{'type'} eq 'rm') {
     $msg .= "$m->{'filename'} (r$m->{'oldrev'}) removed\n";
   } else {
     $msg .= "$m->{'filename'} updated: $m->{'oldrev'} -> $m->{'newrev'}\n";
-    $diffs .= `cvs -Qf rdiff -u -r $m->{'oldrev'} -r $m->{'newrev'} $changedir/$m->{'filename'} 2> /dev/null` . "\n\n";
+    $diffs .= `cvs -Qf diff -u -w -r $m->{'oldrev'} -r $m->{'newrev'} $changedir/$m->{'filename'} 2> /dev/null` . "\n\n";
   }
 }
 $msg .= "\n---\nLog message:\n\n" . join('', at logmessage);





More information about the llvm-commits mailing list