File:  [mozdev] / browseimages / CVSROOT / loginfo
Revision (vendor branch): download - view: text, annotated - select for diffs - revision graph
Sun Jul 20 13:43:44 2008 UTC (10 years, 2 months ago) by juergen
Branches: vendor, juergen, MAIN
CVS tags: release, browseimages, HEAD

# The "loginfo" file controls where "cvs commit" log information is
# sent. The first entry on a line is a regular expression which must
# match the directory that the change is being made to, relative to the
# $CVSROOT.  If a match 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 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.
# If any format strings are present in the filter, they will be replaced
# as follows:
#    %c = canonical name of the command being executed
#    %R = the name of the referrer, if any, otherwise the value NONE
#    %p = path relative to repository
#    %r = repository (path portion of $CVSROOT)
#    %{sVv} = attribute list = file name, old version number (pre-checkin),
#           new version number (post-checkin).  When either old or new revision
#           is unknown, doesn't exist, or isn't applicable, the string "NONE"
#           will be placed on the command line instead.
# Note that %{sVv} is a list operator and not all elements are necessary.
# Thus %{sv} is a legal format string, but will only be replaced with
# file name and new revision.
# It also generates multiple arguments for each file being operated upon.
# That is, if two files, file1 & file2, are being commited from 1.1 to
# version and from to, respectively, %{sVv} will
# generate the following six arguments in this order:
# file1, 1.1,, file2,,
# For example:
#DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog

FreeBSD-CVSweb <>