Next: [[cvs: How data is stored in the repository#How data is stored in the repository|Repository storage]], Up: [[cvs: The Repository#The Repository|Repository]] |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|
-d
(for "directory") option:
$CVSROOT
environment
variable to an absolute path to the root of the
repository, ‘/usr/local/cvsroot’ in this example.
To set $CVSROOT
, csh
and tcsh
users should have this line in their ‘.cshrc’ or
‘.tcshrc’ files:
sh
and bash
users should instead have these lines in their
‘.profile’ or ‘.bashrc’:
-d
will
override the $CVSROOT
environment variable.
Once you’ve checked a working copy out from the
repository, it will remember where its repository is
(the information is recorded in the
‘CVS/Root’ file in the working copy).
The -d
option and the ‘CVS/Root’ file both
override the $CVSROOT
environment variable. If
-d
option differs from ‘CVS/Root’, the
former is used. Of course, for proper operation they
should be two ways of referring to the same repository.
This document was generated on a sunny day using [http://www.nongnu.org/texi2html/ texi2html].