From 2027bcef2084f5a077fd232510c4e05d85d02b43 Mon Sep 17 00:00:00 2001 From: joe Date: Wed, 19 Sep 2001 01:51:20 +0000 Subject: Define a new configuration variable for globally switching on rcsid checking in committed files, and switch it on by default for the FreeBSD project. --- CVSROOT/cfg.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'CVSROOT/cfg.pm') diff --git a/CVSROOT/cfg.pm b/CVSROOT/cfg.pm index 6816197d2993..d7b2ce0fa8fe 100755 --- a/CVSROOT/cfg.pm +++ b/CVSROOT/cfg.pm @@ -12,7 +12,7 @@ package cfg; use strict; use vars qw($DEBUG $FILE_PREFIX $MAILADDRS $MAILBANNER $MAILCMD $MAIL_ON_DIR_CREATION $TMPDIR %TEMPLATE_HEADERS - $LAST_FILE $PID $IDHEADER $UNEXPAND_RCSID); + $CHECK_HEADERS $LAST_FILE $PID $IDHEADER $UNEXPAND_RCSID); ###################### @@ -62,6 +62,13 @@ $LAST_FILE = "$TMPDIR/$FILE_PREFIX.lastdir"; ### commit_prep.pl ### ###################### +# Check for instances of $IDHEADER in committed files, and +# bomb out if they're not present, or corrupted. +# Exclusions can be specified in the CVSROOT/exclude file. +# Currently $IDHEADER must be an instance of $CVSHeader$, or an alias +# defined in CVSROOT/options. +$CHECK_HEADERS = 1; + # WARNING: You will also need to be running the version of cvs that # the FreeBSD project is using; I believe that we have some local patches # that aren't in the main 'cvs' source. -- cgit