Jarrod Douglas writes:
> 
> CVS stores the location of the repository used in a "get" or "update"
> operation in the CVS/Root file of the working directories.
> When you then do subsequent cvs operations, it uses the contents
> of this file in preference to the CVSROOT envrionment variable or
> what is specified in the dialogs of WinCVS (when using that front end).

That is exactly right -- CVS remembers where the stuff came from and
does all subsequent operations to the same repository.  This is intended
to be a user convenience -- if you're working with multiple
repositories, you don't have to constantly be resetting $CVSROOT or
using -d to get things to work right, it all happens automagically.

> The solution I am using, is to delete all the "Root" files via a
> simple Unix find command and then set the CVS_IGNORE_REMOTE_ROOT
> enviromnent variable for the shell of all subsequent cvs operations...
> This prevents cvs from writing out a new value into the Root file
> again... and the absence of the Root file, forces CVS to use your
> envronment variable or settings you have set.

What problem are you trying to solve?!?  It seems to me that you're just
making your life more difficult...

-Larry Jones

Fortunately, that was our plan from the start. -- Calvin

Reply via email to