Previous: Variables, Up: Administrative files
The administrative file config contains various miscellaneous settings which affect the behavior of cvs. The syntax is slightly different from the other administrative files. Variables are not expanded. Lines which start with `#' are considered comments. Other lines consist of a keyword, `=', and a value. Note that this syntax is very strict. Extraneous spaces or tabs are not permitted.
Currently defined keywords are:
RCSBIN=bindirSystemAuth=valueLocalKeyword=valueKeywordExpand=valueTopLevelAdmin=valueThis option is useful if you find yourself performing
many commands at the top level of your working
directory, rather than in one of the checked out
subdirectories. The CVS directory created there
will mean you don't have to specify CVSROOT for
each command. It also provides a place for the
CVS/Template file (see Working directory storage).
LockDir=directoryBefore enabling the LockDir option, make sure that you have tracked down and removed any copies of cvs 1.9 or older. Such versions neither support LockDir, nor will give an error indicating that they don't support it. The result, if this is allowed to happen, is that some cvs users will put the locks one place, and others will put them another place, and therefore the repository could become corrupted. cvs 1.10 does not support LockDir but it will print a warning if run on a repository with LockDir enabled.
LogHistory=valueRereadLogAfterVerify=valueNote: the `stat' mode can cause CVS to pause for up to one extra second per directory committed. This can be less IO and CPU intensive but is not recommended for use with large repositories
See verifymsg, for more information on how verifymsg may be used.
UserAdminOptions=valuecvs admin
command (see admin) for users not in the cvsadmin group.
The value string is a list of single character options
which should be allowed. If a user who is not a member of the
cvsadmin group tries to execute any cvs admin
option which is not listed they will will receive an error message
reporting that the option is restricted.
If no cvsadmin group exists on the server, cvs will
ignore the UserAdminOptions keyword (see admin).
When not specified, UserAdminOptions defaults to
`k'. In other words, it defaults to allowing
users outside of the cvsadmin group to use the
cvs admin command only to change the default keyword
expansion mode for files.
As an example, to restrict users not in the cvsadmin
group to using cvs admin to change the default keyword
substitution mode, lock revisions, unlock revisions, and
replace the log message, use `UserAdminOptions=klum'.
UseNewInfoFmtStrings=valueNote that new repositories (created with the cvs init command)
will have this value set to `yes', but the default value is `no'.
ImportNewFilesToVendorBranchOnly=valuecvs import should always behave as if the
`-X' flag was specified on the command line.
value may be either `yes' or `no'. If set to `yes',
all uses of cvs import on the repository will behave as if the
`-X' flag was set. The default value is `no'.
PrimaryServer=CVSROOTOnly the `:ext:' method is currently supported for primaries (actually, `:fork:' is supported as well, but only for testing - if you find another use for accessing a primary via the `:fork:' method, please send a note to bug-cvs@gnu.org about it). See Write proxies for more on configuring and using write proxies.
MaxCommentLeaderLength=length$Log$ keywords (see Keyword substitution), with
more than length bytes preceding it on a line to be ignored (or to fall
back on the comment leader set in the RCS archive file - see
UseArchiveCommentLeader below). Defaults to 20 bytes to allow checkouts
to proceed normally when they include binary files containing
$Log$ keywords and which users have neglected to mark
as binary.
UseArchiveCommentLeader=valuetrue, if the text preceding a $Log$
keyword is found to exceed MaxCommentLeaderLength bytes, then the
comment leader set in the RCS archive file (see admin), if any, will be
used instead. If there is no comment leader set in the archive file or
value is set to `false', then the keyword will not be expanded
(see Keyword list). To force the comment leader in the RCS archive file to
be used exclusively (and $Log$ expansion skipped in
files where the comment leader has not been set in the archive file), set
value and set MaxCommentLeaderLength to 0.