[cvsnt] commitinfo not passing arguments to the specified script.

Bo Berglund bo.berglund at system3r.se
Thu Jul 31 22:35:52 BST 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


On Thu, 31 Jul 2003 21:38:19 +0100, Tony Hoyle <tmh at nodomain.org>
wrote:

>Bo Berglund wrote:
>
>> Unlike some other scripts this one does not come as a default with
>> descriptive comment when you create a new repository. If possible it
>> would be great if you added a few comment lines to the text of the
>> commitinfo file that describes how to access the data.
>> 
>It does, actually... the full text reads:
>
># The "commitinfo" file is used to control pre-commit checks.
># The filter on the right is invoked with the repository name.  A list
># of files to check is passed to the standard input of the script.  A
>non-zero
># exit of the filter program will cause the commit to be aborted.
>#
># The first entry on a line is a regular expression which is tested
># against the directory that the change is being committed to, relative
># to the $CVSROOT.  For the first match that is found, then the remainder
># of the line is the name of the filter to run.
>#
># If the repository name does not match any of the regular expressions in
>this
># file, the "DEFAULT" line is used, if it is specified.
>#
># If the name "ALL" appears as a regular expression it is always used
># in addition to the first matching regex or "DEFAULT".
>

>From when did this start?
I made a repository yseterday on my laptop (2.0.5) and the commitinfo
file looks like this:

# The "commitinfo" file is used to control pre-commit checks.
# The filter on the right is invoked with the repository and a list 
# of files to check.  A non-zero exit of the filter program will 
# cause the commit to be aborted.
#
# The first entry on a line is a regular expression which is tested
# against the directory that the change is being committed to,
relative
# to the $CVSROOT.  For the first match that is found, then the
remainder
# of the line is the name of the filter to run.
#
# If the repository name does not match any of the regular expressions
in this
# file, the "DEFAULT" line is used, if it is specified.
#
# If the name "ALL" appears as a regular expression it is always used
# in addition to the first matching regex or "DEFAULT".


/Bo Berglund


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook