Files
freebsd/gnu/usr.bin/cvs/examples/commitinfo
T
Peter Wemm 496d2d7711 Bring across cvs from -current (which is at about version 1.6.3).
This has remote repository access via "rsh".
(eg: $CVSROOT = freefall.freebsd.org:/home/ncvs)

This is not quite the latest version, but it's a "known quantity".

There were a few covert tagging operations done as well to bring some
new files onto the -stable branch, these do not show here.
1996-02-23 12:18:52 +00:00

28 lines
1.1 KiB
Plaintext

#
# $Id: commitinfo,v 1.1.1.2 1995/03/31 07:44:32 nate Exp $
#
# The "commitinfo" file is used to control pre-commit checks.
# The filter on the right is invoked with the repository and a list
# of files to check. A non-zero exit of the filter program will
# cause the commit to be aborted.
#
# The first entry on a line is a regular expression which is tested
# against the directory that the change is being committed to, relative
# to the $CVSROOT. For the first match that is found, then the remainder
# of the line is the name of the filter to run.
#
# If the repository name does not match any of the regular expressions in this
# file, the "DEFAULT" line is used, if it is specified.
#
# If the name "ALL" appears as a regular expression it is always used
# in addition to the first matching regex or "DEFAULT".
#
# NOTE: contrib/commit_prep usage:
# -r - record directories affected by commit for use with contrib/log_accum
# -c - check for things like "$Id" near head of file, no "$Log", etc.
#
^apc $CVSROOT/CVSROOT/commit_prep -r -c
^misc $CVSROOT/CVSROOT/commit_prep -r
CVSROOT $CVSROOT/CVSROOT/commit_prep -r -c
DEFAULT $CVSROOT/CVSROOT/commit_prep