[Top][All Lists]

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

Re: New CVSROOT, old sandbox.

From: Matt Riechers
Subject: Re: New CVSROOT, old sandbox.
Date: Fri, 07 Sep 2001 08:23:12 -0400

Jimmy Rimmer wrote:
> I have changes in my sandbox that I can't check in, for reasons that are too
> complicated to describe here.
> We recently moved our CVSROOT from a local directory (boo!) to a Linux
> server over SSH (yay!).  Of course, if I try to do a CVS update, I get an
> error message, because all of the <somedirectory>/CVS/Root entries have the
> old location.  I know I can use the -d option to force it to use the new
> location, but that's not a satisfactory permanent solution.
> What's the easiest way to change the CVS/Root entries?  The directory
> structure is mind-bogglingly huge.

Here's a one-liner that generates a script to change the CVSROOT. Set the new
$CVSROOT before running it. You can remove the '|sh' to see the script this
generates. ;)

find . -name CVS |awk '{print "echo $CVSROOT >" $1 "/Root"}' |sh


reply via email to

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