aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT/cfg.pm
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-09-19 09:51:20 +0800
committerjoe <joe@FreeBSD.org>2001-09-19 09:51:20 +0800
commit2027bcef2084f5a077fd232510c4e05d85d02b43 (patch)
treeadd8170b80fab91fb773d378daafe8ad727d874f /CVSROOT/cfg.pm
parentef2c34a5acd8adacfa8f8c14fa0a1748a12c54a7 (diff)
downloadfreebsd-ports-gnome-2027bcef2084f5a077fd232510c4e05d85d02b43.tar.gz
freebsd-ports-gnome-2027bcef2084f5a077fd232510c4e05d85d02b43.tar.zst
freebsd-ports-gnome-2027bcef2084f5a077fd232510c4e05d85d02b43.zip
Define a new configuration variable for globally switching on
rcsid checking in committed files, and switch it on by default for the FreeBSD project.
Diffstat (limited to 'CVSROOT/cfg.pm')
-rwxr-xr-xCVSROOT/cfg.pm9
1 files changed, 8 insertions, 1 deletions
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.