info-cvs
[Top][All Lists]
Advanced

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

RE: Running two cvs repositories on one box


From: Arthur Barrett
Subject: RE: Running two cvs repositories on one box
Date: Fri, 10 Feb 2006 11:35:56 +1100

Rahul,
 
That requires that you build your own CVSNT - not what the other 1,399,999 people did last year.
 
Your solution also requires that different ports be used which many clients do not support (eg: Eclipse) and finally the cvslockd is not specifically tested for this and such use would be unsupported.
 
Regards,
 

Arthur
 
-----Original Message-----
From: Rahul Bhargava [mailto:address@hidden
Sent: 10 February 2006 10:49
To: Arthur Barrett
Cc: Givler, Eric; address@hidden
Subject: Re: Running two cvs repositories on one box

Actually it is that simple!  We  currently do that to test multiple CVSNT
versions on the same machine with WANdisco Replicator. Basically when
you build the CVSNT sources:

1. For cvsnt 2.0.58
  run configure --prefix=/location/for/2_0_58 and
2. For cvsnt 2.5.01
run configure --prefix=/location/for/2_5_1

Now the cvsnt binary will pick up  Pserver file from /location/for/<version>/etc/cvsnt
and not /etc. This allows two config files to exists simultaneously. Presumed this was
common knowledge :-)

-- 
Rahul Bhargava,
SCM Solutions
WANdisco,Inc.
Pleasanton, CA
http://www.wandisco.com

Arthur Barrett wrote:
Rahul/Eric,

  
I was wondering if it was possible to run two cvs repositories on one 
machine?
      
  

Yes just use different ports for lockdaemon and CVSNT server. 
    

No this will NOT work because the two servers will share the same
/etc/cvsnt/Pserver file (or the same registry if you are running on
windows) and you will therefore be able to access the same repositories
with both servers.  Also installing 2.0.58 and 2.5.01 on one machine
(using standard builds) wont work due to the locations of the protocol
libraries.  If the problem was that simple to solve it wouldn't be a
"feature we are planning for a future release".

Ask the CVSNT list - not the Non-GNU list.
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
or
news://news.cvsnt.org/support.cvsnt

Regards,


Arthur Barrett


  



reply via email to

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