Environment variables -- CVS---Concurrent Versions System



Next: Troubleshooting Prev: Administrative files Top: Top

All environment variables which affect CVS

This is a complete list of all environment variables that affect cvs.

$CVSIGNORE
A whitespace-separated list of file name patterns that cvs should ignore. See cvsignore.

$CVSWRAPPERS
A whitespace-separated list of file name patterns that cvs should treat as wrappers. See Wrappers.

$CVSREAD
If this is set, checkout and update will try hard to make the files in your working directory read-only. When this is not set, the default behavior is to permit modification of your working files.

$CVSROOT
Should contain the full pathname to the root of the cvs source repository (where the rcs history files are kept). This information must be available to cvs for most commands to execute; if $CVSROOT is not set, or if you wish to override it for one invocation, you can supply it on the command line: `cvs -d cvsroot cvs_command...' Once you have checked out a working directory, cvs stores the appropriate root (in the file CVS/Root), so normally you only need to worry about this when initially checking out a working directory.

$EDITOR
$CVSEDITOR
Specifies the program to use for recording log messages during commit. If not set, the default is `/usr/ucb/vi'. $CVSEDITOR overrides $EDITOR. $CVSEDITOR does not exist in cvs 1.3, but the next release will probably include it.

$PATH
If $RCSBIN is not set, and no path is compiled into cvs, it will use $PATH to try to find all programs it uses.

$RCSBIN
Specifies the full pathname of the location of rcs programs, such as co(1) and ci(1). If not set, a compiled-in value is used, or your $PATH is searched.
cvs is a front-end to rcs. The following environment variables affect rcs:

$LOGNAME
$USER
If set, they affect who rcs thinks you are. If you have trouble checking in files it might be because your login name differs from the setting of e.g. $LOGNAME.

$RCSINIT
Options prepended to the argument list, separated by spaces. A backslash escapes spaces within an option. The $RCSINIT options are prepended to the argument lists of most rcs commands.

$TMPDIR
$TMP
$TEMP
Name of the temporary directory. The environment variables are inspected in the order they appear above and the first value found is taken; if none of them are set, a host-dependent default is used, typically /tmp.


Next: Troubleshooting Prev: Administrative files Top: Top