1 # The "commitinfo" file is used to control pre-commit checks.
2 # The filter on the right is invoked with the repository and a list
3 # of files to check. A non-zero exit of the filter program will
4 # cause the commit to be aborted.
6 # The first entry on a line is a regular expression which is tested
7 # against the directory that the change is being committed to, relative
8 # to the $CVSROOT. For the first match that is found, then the remainder
9 # of the line is the name of the filter to run.
11 # Format strings present in the filter will be replaced as follows:
12 # %p = path relative to repository
13 # %r = repository (path portion of $CVSROOT)
14 # %{s} = file name, file name, ...
16 # If no format strings are present in the filter string, a default of
17 # " %r %s" will be appended to the filter string, but this usage is
20 # If the repository name does not match any of the regular expressions in this
21 # file, the "DEFAULT" line is used, if it is specified.
23 # If the name "ALL" appears as a regular expression it is always used
24 # in addition to the first matching regex or "DEFAULT".
25 #ALL $CVSROOT/CVSROOT/commit_prep -u -r
26 DEFAULT $CVSROOT/CVSROOT/cvsprep -- %r/%p