Thanks, Jim!

I tried to check out with the command "cvs -d 141.106.32.35 co
healthlink" but got the following message: 

Cvs checkout: CVSROOT "141.106.32.35" must be an absolute pathname
Csv [checkout aborted]: Bad CVSROOT.

Any idea about this? Could you please let me know how to check out a
fresh copy with $CVSROOT set to the new machine?


Yi

-----Original Message-----
From: Jim.Hyslop [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 19, 2005 2:43 PM
To: Hong, Yi; info-cvs@gnu.org
Subject: RE: What should I do with CVS after IP address changed

Hong, Yi wrote:
> I got the following error message after I tried "cvs update" command:
> 
> cvs [update aborted]: connect to cvs-rep(141.106.32.35):2401 
> failed: Connection timed out
> 
> We just readdressed IP of our test server. We are using CVS 
> to transfer modified files from test server to production 
> server. I think I need to update the IP address somewhere in 
> one of CVS administrative files but couldn't find it.

First of all, don't use the server's IP address, use its name. That will
prevent any future problems like this.

The easiest thing to do is simply check out a fresh copy with your
$CVSROOT
set to the new machine.

If you have outstanding changes that need to be checked in, then use the
-d
option:

cvs -d :pserver:[EMAIL PROTECTED]:/path_to_repository commit

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( http://www.leitch.com )
Columnist, C/C++ Users Journal ( http://www.cuj.com/experts )


_______________________________________________
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to