cvs-mailcommit(1) Send CVS commitments via mail


This program supports the following arguments. When the arguments don't make sense the program won't do anything.
-m address, --mailto address
Send the mail to the specified address. This option can be specified on the commandline multiple times.
Generate unified diffs for all modified files.
Include the entire fill for newly created files that were added to the repository.
--maxlines nnn
You can specify how many lines per file may be quoted in the resulting mail. Limiting the number of quoted lines may be useful for repositories with excessive changes that are similar. The default is to copy 400 lines.
--xloop address
Include a special X-Loop header in the generated mail. This is intended for users to be able to filter CVS mails by a common header line. The line will look like

X-Loop: address

--from address
Generate a From:-line of the form

From: CVS User foo <address>

Otherwise the local user the program runs under will be used instead of address. With this parameter you can ensure that all such mails will be sent with the same from line, which may be useful for moderated lists or some where only subscribers may write.

--replyto address
Try to redirect replies to CVS mails to another address by setting proper header lines such as

Reply-To: address

Mail-Followup-To: address

--approved address
Include a special Approved:-line in the mail. This header is intended for moderated mailing-lists to pass the SmartList moderation mechanism. The created header will look like

Approved: address

--cvs version string
This option carries the CVS version info from CVS into the program. It will be added automatically by CVS. When installing this program into the loginfo file of a CVS repository, you will need to add the following option:

--cvs %{sVv}

If you want to test this program manually you'll have to supply the module directory and the modified files including the old and new versions. This will look like

--cvs 'CVSROOT loginfo,1.1,1.2'

This option is only usful for old-style CVS format strings (i.e. prior to CVS 1.12.6). You can continue using old-style format strings with newer cvs if you write %1{sVv} and set UseNewInfoFmtStrings=yes in CVSROOT/config. For more recent versions of CVS you should, however, use the new --root and --dir arguments and place %{sVv} at the end of the commandline.

--root cvs repository
Specify the CVS repository directory. This is normally done by the CVS server. Prior to version 1.12 the repository was transmitted to the log processor via the CVSROOT environment variable. The parameter to this option is normally filled in by CVS using the %r format string:

--root %r

--dir module directory
Specify the directory within the CVS repository in which directories or file were added or modified. The parameter to this option is normally filled in by CVS using the %p format string:

--dir %p