info-cvs
[Top][All Lists]
Advanced

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

RE: New CVSROOT, old sandbox.


From: Jimmy Rimmer
Subject: RE: New CVSROOT, old sandbox.
Date: Thu, 6 Sep 2001 17:49:46 -0700

Thanks.  I got it working by moving the old files to a new directory,
checking out anew, then using Search/Find in Windows (yeah, yeah, I know...)
to find all of the "CVS" directories and delete 'em.


-------------------------------------------------------------------------
Jimmy Rimmer, address@hidden      http://mp3.com/Rimbo?edSig
-------------------------------------------------------------------------
            I was arrested for using illegal-sized paper.
                           (Steve Connelly)


> -----Original Message-----
> From: Eric Siegerman [mailto:address@hidden
> Sent: Thursday, September 06, 2001 5:06 PM
> To: CVS Mailing List (E-mail)
> Subject: Re: New CVSROOT, old sandbox.
> 
> 
> On Thu, Sep 06, 2001 at 03:21:01PM -0700, Jimmy Rimmer wrote:
> > What's the easiest way to change the CVS/Root entries?  The 
> directory
> > structure is mind-bogglingly huge.
> 
>       for f in `find . -type f -print | grep 'CVS/Root$'`; do
>               echo newserver:/newroot >$f
>       done
> 
> That's safer than
>       find . -type f -name Root -print | ...
> because it checks that the parent directory is named "CVS".
> 
> Of course, if your CVS/Repository files have absolute pathnames,
> those need to be munged too.  People have posted Perl scripts to
> do that, or you could use something like:
>       find . -type f -print | grep 'CVS/Repository$' |
>               xargs perl -i.bak -p -e 's,^/oldroot/,/newroot/,'
> 
> All of the above are UNTESTED, so use with caution.
> 
> --
> 
> |  | /\
> |-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
> |  |  /
> With sufficient thrust, pigs fly just fine. However, this is not
> necessarily a good idea.
>       - RFC 1925 (quoting an unnamed source)
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 



reply via email to

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