| Line | |
|---|
| 1 | # The "loginfo" file is used to control where "cvs commit" log information is
|
|---|
| 2 | # sent. The first entry on a line is a regular expression which is tested
|
|---|
| 3 | # against the directory that the change is being made to, relative to the
|
|---|
| 4 | # $CVSROOT. For the first match that is found, 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 the
|
|---|
| 8 | # first field of this 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 | # The filter program may use one and only one "%s" modifier (ala printf). If
|
|---|
| 14 | # such a "%s" is specified in the filter program, a brief title is included
|
|---|
| 15 | # (as one argument, enclosed in single quotes) showing the relative directory
|
|---|
| 16 | # name and listing the modified file names.
|
|---|
| 17 | #
|
|---|
| 18 |
|
|---|
| 19 | # For example:
|
|---|
| 20 | #DEFAULT (echo ""; who am i; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog
|
|---|
| 21 | ALL echo %{sVv} | /srv/viewcvs-0.9.2/loginfo-handler
|
|---|
| 22 | #DEFAULT chgrp Magic ${CVSROOT}/`echo %s | cut -d' ' -f1 -`
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.