info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVSROOT


From: Larry Jones
Subject: Re: CVSROOT
Date: Sun, 30 Sep 2001 20:20:51 -0400 (EDT)

raptor writes:
> 
> PS. Isn't Repository files created every time u check-out ... if I follow my
> thought it means that if I create working copy via normal-method but then I
> want to use it via say :pserver: method, I'm in big trouble ... i.e.
> I can't override repository pointed by ./CVS/Repository file with CVSROOT.
> Isn't it closer to the mind to think that CVSROOT has the precedence over
> all other methods of specifyng Repository except -d option... or I'm missing
> something...

You're missing that people use multiple repositories.  It would be
extraordinarily inconvenient to have to reset $CVSROOT each time you
changed working directories.  So, CVS remembers the root you used when
you did the initial checkout and uses it for all subsequent operations
and things just work.  The order is: -d on the command line has highest
precedence, then the contents of the CVS/Root file, then $CVSROOT. 
Although there are valid reasons for using a different CVSROOT, they're
few and far between.

-Larry Jones

Rats.  I can't tell my gum from my Silly Putty. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]