Annotation of CVSROOT/loginfo, revision 1.1
1.1 ! nick 1: # The "loginfo" file controls where "cvs commit" log information is
! 2: # sent. The first entry on a line is a regular expression which must
! 3: # match the directory that the change is being made to, relative to the
! 4: # $CVSROOT. If a match is found, then the remainder of the line is a
! 5: # filter program that should expect log information on its standard input.
! 6: #
! 7: # If the repository name does not match any of the regular expressions in this
! 8: # file, the "DEFAULT" line is used, if it is specified.
! 9: #
! 10: # If the name ALL appears as a regular expression it is always used
! 11: # in addition to the first matching regex or DEFAULT.
! 12: #
! 13: # If any format strings are present in the filter, they will be replaced
! 14: # as follows:
! 15: # %c = canonical name of the command being executed
! 16: # %R = the name of the referrer, if any, otherwise the value NONE
! 17: # %p = path relative to repository
! 18: # %r = repository (path portion of $CVSROOT)
! 19: # %{sVv} = attribute list = file name, old version number (pre-checkin),
! 20: # new version number (post-checkin). When either old or new revision
! 21: # is unknown, doesn't exist, or isn't applicable, the string "NONE"
! 22: # will be placed on the command line instead.
! 23: #
! 24: # Note that %{sVv} is a list operator and not all elements are necessary.
! 25: # Thus %{sv} is a legal format string, but will only be replaced with
! 26: # file name and new revision.
! 27: # It also generates multiple arguments for each file being operated upon.
! 28: # That is, if two files, file1 & file2, are being commited from 1.1 to
! 29: # version 1.1.2.1 and from 1.1.2.2 to 1.1.2.3, respectively, %{sVv} will
! 30: # generate the following six arguments in this order:
! 31: # file1, 1.1, 1.1.2.1, file2, 1.1.2.2, 1.1.2.3.
! 32: #
! 33: # For example:
! 34: #DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog
! 35: # or
! 36: #DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>