[llvm-commits] CVS: CVSROOT/commit-diffs.pl
Misha Brukman
brukman at cs.uiuc.edu
Fri Aug 1 15:28:00 PDT 2003
Changes in directory CVSROOT:
commit-diffs.pl updated: 1.38 -> 1.39
---
Log message:
Fixed some comments, deleted some empty space.
---
Diffs of the changes:
Index: CVSROOT/commit-diffs.pl
diff -u CVSROOT/commit-diffs.pl:1.38 CVSROOT/commit-diffs.pl:1.39
--- CVSROOT/commit-diffs.pl:1.38 Mon Jun 30 17:43:06 2003
+++ CVSROOT/commit-diffs.pl Fri Aug 1 15:27:35 2003
@@ -17,7 +17,8 @@
# Original author: Jouni Heikniemi <jouni at heikniemi.net>
# This script was improved by Misha & Chris:
# * Hacked to work under Unix
-# * ...?
+# * Displays contents of new files (`cvs diff -r0 -r1.1')
+# * Displays branch name in the subject line
#
######################################################################
@@ -69,7 +70,6 @@
print "num changes: " .scalar(@changes) . "\n";
}
-
if ($changes[0] ne "-") { # Ignore " - New directory" messages
for ($j=0; $j < scalar(@changes); $j++) {
$changeItems[$j] = createChangeItem($changes[$j]);
@@ -120,16 +120,12 @@
$msg .= "\n---\nLog message:\n\n" . join('', at logmessage);
$msg .= "\n---\nDiffs of the changes:\n\n" . $diffs;
-
-# Send the mail.
-# use mailx instead
-
open TEMP, ">$TEMPFILE";
print TEMP $msg;
close TEMP;
-# the mail sending program is called mailx on solaris, but mail on everything
-# else.
+# The mail sending program is called `mailx' on Solaris, but `mail' on
+# everything else.
if ((uname())[0] eq "SunOS") {
system("mailx -s 'CVS: $subject' $target < $TEMPFILE");
} else {
More information about the llvm-commits
mailing list