Develop and Download Open Source Software

Browse CVS Repository

Contents of /pal/CVSROOT/loginfo

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Tue Jan 9 13:00:26 2007 UTC (17 years, 2 months ago) by tigercat
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
Test commit.

1 # The "loginfo" file controls where "cvs commit" log information
2 # is sent. The first entry on a line is a regular expression which must match
3 # 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 filter
5 # 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 as follows:
14 # %p = path relative to repository
15 # %r = repository (path portion of $CVSROOT)
16 # %{sVv} = attribute list = file name, old version number (pre-checkin),
17 # new version number (post-checkin). When either old or new revision is
18 # unknown, doesn't exist, or isn't applicable, the string "NONE" will be
19 # placed on the command line instead.
20 #
21 # Note that %{sVv} is a list operator and not all elements are necessary. Thus %{sv} is
22 # a legal format string, but will only be replaced with file name and new revision.
23 # it also generates multiple arguments for each file being operated upon. i.e. if two
24 # files, file1 & file2, are being commited from 1.1 to version 1.1.2.1 and from 1.1.2.2
25 # to 1.1.2.3, respectively, %{sVv} will generate the following six arguments in this
26 # order: file1, 1.1, 1.1.2.1, file2, 1.1.2.2, 1.1.2.3.
27 #
28 # For example:
29 #DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog
30 # or
31 #DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
32 ##DEFAULT /usr/local/bin/cvs-commitmail "%s" -f $CVSROOT/CVSROOT/commitlog -m pal-cvs@lists.sourceforge.jp
33 DEFAULT /usr/bin/perl -x $CVSROOT/CVSROOT/scripts/loginfo2mail.pl -wviewcvs -Whttp://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/pal -f@users.sourceforge.jp -rpal-cvs-owner@lists.sourceforge.jp -Lja %p %{sVv} pal-cvs@lists.sourceforge.jp

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26