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