info-cvs
[Top][All Lists]
Advanced

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

RE: What should I do with CVS after IP address changed


From: Christopher.Fouts
Subject: RE: What should I do with CVS after IP address changed
Date: Wed, 20 Apr 2005 14:07:50 -0400

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: address@hidden 
>[mailto:address@hidden
>] On Behalf Of Hong, Yi
>Sent: Wednesday, April 20, 2005 1:57 PM
>To: Jim.Hyslop; address@hidden
>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:address@hidden 
>Sent: Tuesday, April 19, 2005 2:43 PM
>To: Hong, Yi; address@hidden
>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:address@hidden:/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
>address@hidden
>http://lists.gnu.org/mailman/listinfo/info-cvs
>




reply via email to

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