freebsd-dev/gnu/usr.bin/cvs/examples/loginfo

40 lines
1.8 KiB
Plaintext
Raw Normal View History

1993-06-18 05:46:17 +00:00
#
#ident "@(#)cvs/examples:$Name: $:$Id: loginfo,v 1.4 1995/11/14 23:30:08 woods Exp $"
1993-06-18 05:46:17 +00:00
#
# 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.
1993-06-18 05:46:17 +00:00
#
# 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.
1993-06-18 05:46:17 +00:00
#
# If the name "ALL" appears as a regular expression it is always used
# in addition to the first matching regex or "DEFAULT".
1993-06-18 05:46:17 +00:00
#
# 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.
1993-06-18 05:46:17 +00:00
#
# 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