Discussion:
Question about pointing sandbox on different server
Diane Atkins
2011-10-04 17:26:31 UTC
Permalink
Good Afternoon,

We have recently moved our CVS repositories to a new server. On the old server, we have many sandboxes that were built pointing at the 'localhost' server. I want to update those sandboxes to point at the new server. I've changed my CVSROOT, I've done a cvs login so .cvspass updates. In one of the sandboxes, I modified the CVS/Root file to point at the new server. When I do a 'cvs update .' on the sandbox, I get an error:

cvs [update aborted]: connect to [localhost]:2401 failed: Connection refused

Is there another place in the sandbox where the server is being stored? Or is the 'localhost' coming from the OS (Linux)? Any ideas you can give me would be appreciated!

Best regards,
Diane
Arthur Barrett
2011-10-05 05:30:03 UTC
Permalink
Diane,

The file you must modify is CVS/Root, which you say you've already done.

If you have 100 directories, then there is a CVS/Root in each directory.

The way I usually fix it is to change the 'top' one, then use:

find . -name Root -type f -exec cp CVS/Root {} \;

If you are using the CVSNT client (on linux/windows/mac) then you can
use 'cvs switch'.

Regards,


Arthur
-----Original Message-----
org] On Behalf Of Diane Atkins
Sent: Wednesday, 5 October 2011 4:27 AM
Subject: Question about pointing sandbox on different server
Good Afternoon,
We have recently moved our CVS repositories to a new server.
On the old server, we have many sandboxes that were built
pointing at the 'localhost' server. I want to update those
sandboxes to point at the new server. I've changed my
CVSROOT, I've done a cvs login so .cvspass updates. In one
of the sandboxes, I modified the CVS/Root file to point at
the new server. When I do a 'cvs update .' on the sandbox, I
cvs [update aborted]: connect to
[localhost]:2401 failed: Connection refused
Is there another place in the sandbox where the server is
being stored? Or is the 'localhost' coming from the OS
(Linux)? Any ideas you can give me would be appreciated!
Best regards,
Diane
Loading...