| Version Management with CVS - the CVS manual by Per Cederqvist et al. Paperback (6"x9"), 216 pages, 8 figures ISBN 0954161718 RRP £19.95 ($29.95) |
C 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 section B.7 Ignoring files via cvsignore.
$CVSWRAPPERS- A whitespace-separated list of file name patterns that CVS should treat as wrappers. See section B.2 The cvswrappers file.
$CVSREAD-
If this is set,
checkoutandupdatewill 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. $CVSUMASK- Controls permissions of files in the repository. See section 16.3 File permissions.
$CVSROOT-
Should contain the full pathname to the root of the CVS
source repository (where the RCS files are
kept). This information must be available to CVS for
most commands to execute; if
$CVSROOTis 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. $CVSEDITOR$EDITOR$VISUAL-
Specifies the program to use for recording log messages
during commit.
$CVSEDITORoverrides$EDITOR, which overrides$VISUAL. See section 1.3.2 Committing your changes for more or section A.4 Global options for alternative ways of specifying a log editor. $PATH-
If
$RCSBINis not set, and no path is compiled into CVS, it will use$PATHto try to find all programs it uses. $HOME$HOMEPATH$HOMEDRIVE-
Used to locate the directory where the ‘.cvsrc’
file, and other such files, are searched. On Unix, CVS
just checks for
HOME. On Windows NT, the system will setHOMEDRIVE, for example to ‘d:’ andHOMEPATH, for example to ‘\joe’. On Windows 95, you'll probably need to setHOMEDRIVEandHOMEPATHyourself. $CVS_RSH-
Specifies the external program which CVS connects with,
when
:ext:access method is specified. see section 2.4.1 Connecting with rsh and ssh. $CVS_SERVER-
Used in client-server mode when accessing a remote
repository using RSH. It specifies the name of
the program to start on the server side (and any
necessary arguments) when accessing a remote repository
using the
:ext:,:fork:, or:server:access methods. The default value for:ext:and:server:iscvs; the default value for:fork:is the name used to run the client. see section 2.4.1 Connecting with rsh and ssh $CVS_PASSFILE-
Used in client-server mode when accessing the
cvs login server. Default value is ‘$HOME/.cvspass’. see section 17.1.2 Using the client with password authentication $CVS_CLIENT_PORT- Used in client-server mode to set the port to use when accessing the server via Kerberos, GSSAPI, or CVS's password authentication protocol if the port is not specified in the CVSROOT. see section 2.4 Remote repositories
$CVS_RCMD_PORT- Used in client-server mode. If set, specifies the port number to be used when accessing the RCMD daemon on the server side. (Currently not used for Unix clients).
$CVS_CLIENT_LOG-
Used for debugging only in client-server
mode. If set, everything sent to the server is logged
into ‘
$CVS_CLIENT_LOG.in’ and everything sent from the server is logged into ‘$CVS_CLIENT_LOG.out’. $CVS_SERVER_SLEEP- Used only for debugging the server side in client-server mode. If set, delays the start of the server child process the specified amount of seconds so that you can attach to it with a debugger.
$CVS_IGNORE_REMOTE_ROOT-
For CVS 1.10 and older, setting this variable
prevents CVS from overwriting the ‘CVS/Root’
file when the ‘-d’ global option is specified.
Later versions of CVS do not rewrite
‘CVS/Root’, so
CVS_IGNORE_REMOTE_ROOThas no effect. $COMSPEC- Used under OS/2 only. It specifies the name of the command interpreter and defaults to CMD.EXE.
$TMPDIR$TMP$TEMP-
Directory in which temporary files are located.
The CVS server uses
TMPDIR. See section A.4 Global options, for a description of how to specify this. Some parts of CVS will always use ‘/tmp’ (via thetmpnamfunction provided by the system). On Windows NT,TMPis used (via the_tempnamfunction provided by the system). Thepatchprogram which is used by the CVS client usesTMPDIR, and if it is not set, uses ‘/tmp’ (at least with GNU patch 2.1). Note that if your server and client are both running CVS 1.9.10 or later, CVS will not invoke an externalpatchprogram.
| ISBN 0954161718 | Version Management with CVS - the CVS manual | See the print edition |