Skip to content
Snippets Groups Projects
Commit 7d29c84c authored by scjones's avatar scjones
Browse files

merge changes from cvs1-11-x-branch

parent 93d3bb1c
No related branches found
No related tags found
No related merge requests found
2009-12-15 Larry Jones <lawrence.jones@siemens.com>
* cvs.texinfo (commitinfo): Add example.
* cvs.texinfo: Minor tweaks for consistency.
* cvs.1, stamp-vti, version.texi: Regenerated.
2009-11-11 Derek Price <derek@ximbiot.com>
* cvs.texinfo (Updating Commit Files): Update default taginfo string.
......
......@@ -2663,7 +2663,7 @@ to have @code{inetd} run a shell script which then invokes
@sc{cvs} with the necessary arguments:
 
@example
#! /bin/sh
#!/bin/sh
exec /usr/local/bin/cvs -f \
--allow-root=/repo1 \
--allow-root=/repo2 \
......@@ -14425,6 +14425,41 @@ to the command.
@c general CVS security in "Password authentication
@c security" (the bit which is not pserver-specific).
 
The following is a little silly example of a
@file{commitinfo} file and a verification script
that prevents commiting files named @samp{thumbs.db}
(case insensitive).
The script @file{/usr/cvssupport/names.verify} is used to
evaluate the names of the files being committed.
@example
#!/bin/sh
#
# names.verify repos file...
#
# Verifies that the file names are all acceptable
#
shift
for file
do
case "$file" in
[Tt][Hh][Uu][Mm][Bb][Ss].[Dd][Bb])
echo "Disallowed file name: $file"
exit 1
;;
esac
done
exit 0
@end example
The @file{commitinfo} file contains this line:
@example
^tc /usr/cvssupport/names.verify
@end example
@c - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@node verifymsg
@appendixsubsec Verifying log messages
......
@set UPDATED 11 November 2009
@set UPDATED-MONTH November 2009
@set UPDATED 15 December 2009
@set UPDATED-MONTH December 2009
@set EDITION 1.12.13.1
@set VERSION 1.12.13.1
@set UPDATED 11 November 2009
@set UPDATED-MONTH November 2009
@set UPDATED 15 December 2009
@set UPDATED-MONTH December 2009
@set EDITION 1.12.13.1
@set VERSION 1.12.13.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment