[cvsnt] Re: Repository on removable drive, used by servers different machines

Bo Berglund bo.berglund at telia.com
Thu Dec 9 22:21:29 GMT 2004

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

On Thu, 9 Dec 2004 23:21:05 +0200, "mada" <no.spam at no.spam.org> wrote:

>You're right... cvs is good for a specific purpose and not for everything.
>(I liked the idea of version control over a large set of files, though).

Yeah, I suspected so...

>Anyway, it turns out that the thing I mentioned on a previous post about
>tricking a sandbox to use different repositories does not work.

You can always have two sets of CVS/Root files (in the CVS subdirs) in
your sandbox, one for one "server" and one for the other.
This can be simply done by copying the CVS/Root file to say
CVS/Root.1, then opening this file changing the specification of the
"server" here.

Next you need two batch files, one to rename the Root file to Root.2
and Root.1 to Root, and the other to do it the other way around.
So when you use one "server" you switch to one set of Root files that
match this and then vice versa.

But please note that you are not using a CVS server when you specify
:local:, then you are letting the *client* work directly on the
repository files. This is OK if you are alone (which you are) but not

(Bo Berglund, developer in Sweden)

More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook