diff options
author | joe <joe@FreeBSD.org> | 2001-10-26 19:56:04 +0800 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-10-26 19:56:04 +0800 |
commit | 84ce805e5e119415489f90afbfcac1a73f08a487 (patch) | |
tree | fc28ac322c9155056301518c772e71203ea8e3db /CVSROOT | |
parent | 51295fe1bee7862d7e41632bde5c63398f79fcf9 (diff) | |
download | freebsd-ports-gnome-84ce805e5e119415489f90afbfcac1a73f08a487.tar.gz freebsd-ports-gnome-84ce805e5e119415489f90afbfcac1a73f08a487.tar.zst freebsd-ports-gnome-84ce805e5e119415489f90afbfcac1a73f08a487.zip |
If a committer modifies more than one area of the tree in one commit
cvs gives them the chance to enter different log messages for each
area. If they do then it's really separate commits and so treat
it as such, mailing separate emails and writing separate logs for
each one.
Diffstat (limited to 'CVSROOT')
-rwxr-xr-x | CVSROOT/log_accum.pl | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl index c489c7dec125..a5b0f9c97b7a 100755 --- a/CVSROOT/log_accum.pl +++ b/CVSROOT/log_accum.pl @@ -775,10 +775,11 @@ if (-e $LAST_FILE) { # # Produce the final compilation of the log messages # -my @log_msg = &build_header(); for (my $i = 0; ; $i++) { last unless -e "$LOG_FILE.$i"; + my @log_msg = &build_header(); + my @mod_lines = &read_logfile("$CHANGED_FILE.$i"); push @log_msg, &format_lists("Modified", @mod_lines) if @mod_lines; @@ -796,16 +797,18 @@ for (my $i = 0; ; $i++) { push @log_msg, " ", map {" $_"} format_summaries("$SUMMARY_FILE.$i"); } + + # + # Add a copy of the message in the relevant log files. + # + &do_changes_file(@log_msg); + + # + # Mail out the notification. + # + &mail_notification(@log_msg); } -# -# Put the log message at the beginning of the Changes file -# -&do_changes_file(@log_msg); -# -# Mail out the notification. -# -&mail_notification(@log_msg); &cleanup_tmpfiles(); exit 0; # EOF |