diff options
author | peter <peter@FreeBSD.org> | 1999-02-16 13:39:30 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-02-16 13:39:30 +0000 |
commit | 6f2284b8f9e979647034a0d3239b24aaf9ec3274 (patch) | |
tree | 85e0ee92f500ff3a776dd3bff21d04c66314e514 /CVSROOT | |
parent | 99a54c8a9158343a8973b84a538b92dc8b2ffa53 (diff) | |
download | FreeBSD-ports-6f2284b8f9e979647034a0d3239b24aaf9ec3274.zip FreeBSD-ports-6f2284b8f9e979647034a0d3239b24aaf9ec3274.tar.gz |
Minor tidy up.. Update email address. Change an if (0) { .. } to a
comment-out, and add comments that mlist_map is actually still used
(the commitlogs specifically) so people don't keep offering to remove
it. :-)
Diffstat (limited to 'CVSROOT')
-rwxr-xr-x | CVSROOT/log_accum.pl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl index df3ebe5..6b6b903 100755 --- a/CVSROOT/log_accum.pl +++ b/CVSROOT/log_accum.pl @@ -1,6 +1,6 @@ #!/usr/local/bin/perl # -# $Id: log_accum.pl,v 1.28 1998/07/27 12:54:29 wosch Exp $ +# $Id: log_accum.pl,v 1.29 1998/07/27 13:01:39 wosch Exp $ # # Perl filter to handle the log messages from the checkin of files in # a directory. This script will group the lists of files by log @@ -12,7 +12,7 @@ # # Originally by David Hampton <hampton@cisco.com> # -# Extensively hacked for FreeBSD by Peter Wemm <peter@dialix.com.au>, +# Extensively hacked for FreeBSD by Peter Wemm <peter@netplex.com.au>, # with parts stolen from Greg Woods <woods@most.wierd.com> version. # @@ -268,7 +268,7 @@ sub build_header { $header = sprintf("%-8s %s", $login, $datestr); } -# !!! Mailing-list and history file mappings here !!! +# !!! Mailing-list and commitlog history file mappings here !!! sub mlist_map { local($dir) = @_; # perl warns about this.... @@ -353,14 +353,13 @@ sub mail_notification { } print(MAIL 'To: cvs-committers' . $dom . ", cvs-all" . $dom); - if (0) { - foreach $line (@mailaddrs) { - next if ($unique{$line}); - $unique{$line} = 1; - next if /^cvs-/; - print(MAIL ", " . $line . $dom); - } - } +# This is turned off since the To: lines go overboard. +# foreach $line (@mailaddrs) { +# next if ($unique{$line}); +# $unique{$line} = 1; +# next if /^cvs-/; +# print(MAIL ", " . $line . $dom); +# } print(MAIL "\n"); $subject = 'Subject: cvs commit:'; @@ -430,6 +429,7 @@ if ($debug) { print("id - ", $id, "\n"); } +# Was used for To: lines, still used for commitlogs naming. &append_line("$MAIL_FILE.$id", &mlist_map($files[0] . "/")); &append_line("$SUBJ_FILE.$id", $ARGV[0]); |