freebsd-dev/gnu/usr.bin/cvs/examples/loginfo
Peter Wemm ac4bd338c8 Import CVS-1.6.3-951211.. Basically, this is the cvs-1.6.2 release
plus a couple of minor changes..

Some highlights of the new stuff that was not in the old version:
 - remote access support.. full checkout/commit/log/etc..
 - much improved dead file support..
 - speed improvements
 - better $CVSROOT handling
 - $Name$ support
 - support for a "cvsadmin" group to cut down rampant use of "cvs admin -o"
 - safer setuid/setgid support
 - many bugs fixed.. :-)
 - probably some new ones.. :-(
 - more that I cannot remember offhand..
1995-12-10 22:31:58 +00:00

40 lines
1.8 KiB
Plaintext

#
#ident "@(#)cvs/examples:$Name: $:$Id: loginfo,v 1.4 1995/11/14 23:30:08 woods Exp $"
#
# The "loginfo" file is used to control where "cvs commit" log information
# is sent. The first entry on a line is a regular expression which is tested
# against the directory that the change is being made to, relative to the
# $CVSROOT. For the first match that is found, then the remainder of the
# line is a filter program that should expect log information on its standard
# input.
#
# If the repository name does not match any of the regular expressions in the
# first field of 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".
#
# The filter program may use one and only one "%s" modifier (ala printf). If
# such a "%s" is specified in the filter program, a brief title is included
# (as one argument, enclosed in single quotes) showing the relative directory
# name and listing the modified file names.
#
# NOTE: contrib/log usage: (currently requires perl)
# -d - turn debugging on....
# -m mailto - send mail to "mailto" (multiple -m's permitted)
# -f logfile - required arg: save messages to logfile
# %s - may follow other options at the end of the line
#
# NOTE: contrib/log_accum usage: (currently requires perl)
# (must have 'commit_prep -r' in commitinfo)
# -d - turn debugging on....
# -M modulename - use this as the module name (necessary for sub-dirs)
# -m mailto - send mail to "mailto" (multiple -m's permitted) [optional]
# -f logfile - save messages to logfile [optional]
# %s - must follow other options at the end of the line
#
# without perl you could do this:
#DEFAULT (echo ""; who am i; date; cat) >> $CVSROOT/CVSROOT/commitlog
#
DEFAULT $CVSROOT/CVSROOT/log -f $CVSROOT/CVSROOT/commitlog %s