Either 

1. set your CVSROOT environment variable in your startup scirpts
   appropriately. Ex, for c-shell's .cshrc file
      > setenv CVSROOT :<access type>:141.106.32.35:/your_cvs_path

   access type here is either pserver, rsh, ssh, etc.

2. Or from directly from command line

     > cvs co -d 141.106.32.35:/your_cvs_path blah_blah

#1 is preferred.

>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED]
>] On Behalf Of Hong, Yi
>Sent: Wednesday, April 20, 2005 1:57 PM
>To: Jim.Hyslop; [email protected]
>Subject: RE: What should I do with CVS after IP address changed
>
>
>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; [email protected]
>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
>[email protected]
>http://lists.gnu.org/mailman/listinfo/info-cvs
>


_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to