Re: cvs
On Sun, Nov 11, 2001 at 02:48:33PM +0100, Guy Geens wrote:
> Just set CVSROOT to an appropriate value, e.g.:
> export CVSROOT=:ext:user@host:/var/cvs
[...]
> You can switch between CVS servers by changing the CVSROOT environment
> variable. Most of the time, you don't even need to do that: once you
> are in a work directory, cvs will automatically use the repository
> stored in the administrative files.
>
> The only time you need to set CVSROOT is when checking out a new
> repository.
Usually, to avoid confusion, I don't even do that: I just set the
cvsroot for the few commands that need it using the -d switch. For
example:
cvs -d :ext:user@host:/var/cvs co foo
cvs -d :pserver:anonymous@foo.example.com:/cvs/bar login
cvs -d :pserver:anonymous@foo.example.com:/cvs/bar co quux
... then, after that, drop the -d switch and its argument.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to:
- Follow-Ups:
- Re: cvs
- From: Tom Allison <tallison1@twmi.rr.com>
- Re: cvs
- From: Tom Allison <tallison1@twmi.rr.com>
- References:
- cvs
- From: Tom Allison <tallison1@twmi.rr.com>
- Re: cvs
- From: Guy Geens <ggeens@iname.com>