Go to the previous, next section.
Figure 3 below shows a typical setup of a repository. Only directories are shown below.
/usr | +--local | | | +--cvsroot | | | | | +--CVSROOT | (administrative files) | +--gnu | | | +--diff | | (source code to GNU diff) | | | +--rcs | | (source code to RCS) | | | +--cvs | (source code to CVS) | +--yoyodyne | +--tc | | | +--man | | | +--testing | +--(other Yoyodyne software)
The $CVSROOT
environment variable should always
be set to an absolute path to the root of the
repository, `/usr/local/cvsroot' in this example.
With this setup all csh
and tcsh
users
should have this line in their `.cshrc' or
`.tcshrc' files:
setenv CVSROOT /usr/local/cvsroot
sh
and bash
users should instead have these lines in their
`.profile' or `.bashrc':
CVSROOT=/usr/local/cvsroot export CVSROOT
There is nothing magical about the name
`/usr/local/cvsroot'. You can choose to place the
repository anywhere you like, but $CVSROOT
must
always point to it.
The repository is split in two parts. `$CVSROOT/CVSROOT' contains administrative files for CVS. The other directories contain the actual user-defined modules.
Go to the previous, next section.