diff options
Diffstat (limited to 'CVSROOT')
-rwxr-xr-x | CVSROOT/log_accum.pl | 1 | ||||
-rwxr-xr-x | CVSROOT/logcheck | 12 | ||||
-rw-r--r-- | CVSROOT/rcstemplate | 6 |
3 files changed, 19 insertions, 0 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl index 1e63f2c..17ea171 100755 --- a/CVSROOT/log_accum.pl +++ b/CVSROOT/log_accum.pl @@ -615,6 +615,7 @@ while (<STDIN>) { /^Reviewed by:$/i || /^Submitted by:$/i || /^Obtained from:$/i || + /^MFC after:$/i || /^Approved by:$/i) { push @log_lines, $_; } diff --git a/CVSROOT/logcheck b/CVSROOT/logcheck index fdec5db..1f03cb2 100755 --- a/CVSROOT/logcheck +++ b/CVSROOT/logcheck @@ -50,6 +50,18 @@ while(<IN>) { /^PR:$/i) { next; } + + # Special handling for type checking the 'MFC after' field. + if (/^MFC after:\s*(.*)$/) { + # Ignore it if no value was filled in. + next unless $1; + + unless ($1 =~ /[\d]+ (days?|weeks?)$/) { + print "Parse error in 'MFC after:'\n"; + exit 1; + } + } + if ($blank && $first) { # Previous line(s) was blank, this isn't. Close the # collapsed section. diff --git a/CVSROOT/rcstemplate b/CVSROOT/rcstemplate index 8c68bf4..c9097ea 100644 --- a/CVSROOT/rcstemplate +++ b/CVSROOT/rcstemplate @@ -4,9 +4,15 @@ Submitted by: Reviewed by: Approved by: Obtained from: +MFC after: CVS: ---------------------------------------------------------------------- CVS: PR: Fill this in if a GNATS PR is affected by the change. CVS: Submitted by: Fill this in if someone else sent in the change. CVS: Reviewed by: Fill this in if someone else reviewed your modification. CVS: Approved by: Fill this in if you needed approval for this commit. CVS: Obtained from: Fill this in if the change is from third party software. +CVS: +CVS: MFC after: XXX [day[s]|week[s]] +CVS: Fill this in if you want to get MFC notification later. XXX is a +CVS: number of days or weeks after which MFC is planned. If no day[s] +CVS: or week[s] suffix was specified then days assumed. |