source: trunk/CVSROOT/loginfo@ 3875

Last change on this file since 3875 was 3333, checked in by tbretz, 21 years ago
Added automatic update of group for new directories
File size: 1.1 KB
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# For example:
19#DEFAULT (echo ""; who am i; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog
20ALL echo %{sVv} | /usr/local/viewcvs/loginfo-handler
21DEFAULT chgrp Magic ${CVSROOT}/`echo %s | cut -d' ' -f1 -`
Note: See TracBrowser for help on using the repository browser.