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

Luckey, Dave dave.luckey at lmco.com
Thu Dec 9 22:45:13 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.


I was under the impression that using local was a big No No.  I thought
it could possibly corrupt files and leave dangling locked files?  Is
this true?


Thank you, 
Dave 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
Dave Luckey 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
 

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Bo Berglund
Sent: Thursday, December 09, 2004 3:21 PM
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] Re: Repository on removable drive, used by servers
different machines

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.
>
>Thanx
>

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
otherwise.



/Bo
(Bo Berglund, developer in Sweden)
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



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