| 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 |
# %I = unique (randomly generated) commit ID |
| 17 |
# %R = the name of the referrer, if any, otherwise the value NONE |
| 18 |
# %p = path relative to repository |
| 19 |
# %r = repository (path portion of $CVSROOT) |
| 20 |
# %{sVv} = attribute list = file name, old version number (pre-checkin), |
| 21 |
# new version number (post-checkin). When either old or new revision |
| 22 |
# is unknown, doesn't exist, or isn't applicable, the string "NONE" |
| 23 |
# will be placed on the command line instead. |
| 24 |
# |
| 25 |
# Note that %{sVv} is a list operator and not all elements are necessary. |
| 26 |
# Thus %{sv} is a legal format string, but will only be replaced with |
| 27 |
# file name and new revision. |
| 28 |
# It also generates multiple arguments for each file being operated upon. |
| 29 |
# That is, if two files, file1 & file2, are being committed from 1.1 to |
| 30 |
# version 1.1.2.1 and from 1.1.2.2 to 1.1.2.3, respectively, %{sVv} will |
| 31 |
# generate the following six arguments in this order: |
| 32 |
# file1, 1.1, 1.1.2.1, file2, 1.1.2.2, 1.1.2.3. |
| 33 |
# |
| 34 |
# For example: |
| 35 |
#DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog |
| 36 |
# or |
| 37 |
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog |