[Top][All Lists]

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

Re: Changed IP of cvs server,then it can't update !

From: Jason Brown
Subject: Re: Changed IP of cvs server,then it can't update !
Date: Mon, 13 Mar 2006 10:02:59 -0700
User-agent: KMail/1.5.1

?  I've had to deal with this rather regularly as a result of changing ip 
addresses without a good hostname to checkout from.  It seemed annoying, but 
not difficult to work with...I'm sure it would only take two minutes to write 
a shellscript to handle it.

cp YourWorkingDirectory/CVS/Root /tmp/Root
vim /tmp/Root  
#Change the file point to correct IP or URL
find ./ -name Root -exec cp /tmp/Root {} \; 
#Run above from root of working directory

If I've been doing something horribly wrong here (other than having a 
repository running off of DHCP ...there was no way around *that* 
unfortunately), or there is an existing tool for this, somebody please tell 
me.  It would be quite bad if I had somehow risked corruption of the working 
copy I had done this for.



On Monday 13 March 2006 00:12, ankush grover wrote:
> On 3/8/06, xiangbin <address@hidden> wrote:
> > Hi,all.
> > My cvs server worked well before.
> > Today I changed the IP address of  the cvs server machine and rebooted
> > it. When I try to update the moudle , an error ocured.
> > -----------------------------------
> > address@hidden:~$ cvs update -d HTSYSY05232J/
> > cvs update: warning: directory CVS specified in argument
> > cvs update: but CVS uses CVS for its own purposes; skipping CVS directory
> > cvs [update aborted]: no such directory `HTSYSY05232J'
> > ------------------------------------
> >
> > But if I remove the old directory then re-checkout it, it works.
> > Any one can help me ?
> >
> >
> >
> >
> > hey,
> There are some cvs folders in the checkout directory.These folders contains
> the ipaddress,port,repository ,username etc of the cvs( in case of pserver
> as I am using pserver in my company on windows).When you update these
> folders are checked and when there are some mismatch among any of these
> entries the update or commit is not possible unless you checkout again or
> delete those cvs folders.
> Regards
> Ankush

reply via email to

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