info-cvs
[Top][All Lists]
Advanced

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

RE: WinCvs keeps using my old ip


From: Pascal Bourguignon
Subject: RE: WinCvs keeps using my old ip
Date: Fri, 31 Aug 2001 03:17:37 +0200 (CEST)

> From: eric07 <address@hidden>
> Subject: WinCvs keeps using my old ip
> Date: Thu, 30 Aug 2001 21:28:46 GMT
> Organization: Road Runner
> To: address@hidden
> 
> I've been using cvs and its been working great.  But recently the ip
> of the cvs server has changed from 192.168.0.5 to 192.168.0.6.  The
> problem I have is that I change the ip to the correct one in wincvs
> preferrence.  But everytime I try to log on it keeps going back to
> 192.168.0.5.  I noticed that in my source code there are allot of CVS
> directories which has root file with the old ip.  There are almost one
> for every sub-directory and i'm hoping i dont have to go changing
> these every time.  Is there a solution to my problem?
> 
> Thanks

cvs keeps a pointer to the cvs server in the files CVS/Root.  For example:

  % cat CVS/Root 
  :ext:address@hidden:/cvs

When you change  the location of the repository, if  you don't want to
check out new working copies,  you should update these CVS/Root files,
using a script like:

#!/bin/sh
for file in `find . -name Root -print` ; do
ed $file <<'EOF'
s/@[-.A-Za-z0-9]*.informatimago.com:/@cvs.informatimago.com:/
w
q
EOF
done
exit 0


(Edit the line "s/@[-.A-Za-z0-9]*.informatimago.com:/@cvs.informatimago.com:/" 
to match your situation).



-- 
__Pascal_Bourguignon__              (o_ Software patents are endangering
()  ASCII ribbon against html email //\ the computer industry all around
/\  and Microsoft attachments.      V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100  2001:my($f)=`fortune`;  http://petition.eurolinux.org/

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d? s++:++(+++)>++ a C+++  UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------



reply via email to

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