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
|
_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs