( commitinfo

Info Catalog ( commit files ( Trigger Scripts ( verifymsg
 C.3.4 Commitinfo
 The `commitinfo' file defines programs to execute whenever `cvs commit'
 is about to execute.  These programs are used for pre-commit checking
 to verify that the modified, added and removed files are really ready
 to be committed.  This could be used, for instance, to verify that the
 changed files conform to to your site's standards for coding practice.
    The `commitinfo' file has the standard form for script hooks (
 Trigger Scripts), where each line is a regular expression followed by
 a command to execute.  It supports only the DEFAULT keywords.
    In addition to the common format strings ( syntax),
 `commitinfo' supports:
      a list of the names of files to be committed
    Currently, if no format strings are specified, a default string of `
 %r/%p %{s}' will be appended to the command line template before
 replacement is performed, but this feature is deprecated.  It is simply
 in place so that legacy repositories will remain compatible with the
 new CVS application.  For information on updating,  Updating
 Commit Files.
    The first line with a regular expression matching the directory
 within the repository will be used.  If the command returns a non-zero
 exit status the commit will be aborted.
    The command will be run in the root of the workspace containing the
 new versions of any files the user would like to modify (commit), _or
 in a copy of the workspace on the server ( Remote
 repositories)_.  If a file is being removed, there will be no copy of
 the file under the current directory.  If a file is being added, there
 will be no corresponding archive file in the repository unless the file
 is being resurrected.
    Note that both the repository directory and the corresponding Attic
 ( Attic) directory may need to be checked to locate the archive
 file corresponding to any given file being committed.  Much of the
 information about the specific commit request being made, including the
 destination branch, commit message, and command line options specified,
 is not available to the command.
Info Catalog ( commit files ( Trigger Scripts ( verifymsg
automatically generated byinfo2html