On Fri, Nov 24, 2000 at 08:41:54AM -0500, Laurent Duperval wrote:
> Hi,
> 
> How do you synchromise your source code with a server that moves? For
> example, let's the repository was on a.com:/cvsroot and moves to
> b.com/export/cvs/root. I now have a CVS snapshot on my machine which is
> synched to the old server. Can I ask CVS to update the files in the CVS/
> (sub)directories so from now on in syncs with b.com? Or do I have to do a
> checout from b.com then reapply all the my patches from the original
> codebase?

I typically do something like this:

export CVSROOT=:pserver:[EMAIL PROTECTED]:/export/cvs/root
cd sandbox
cvs -d $CVSROOT update
perl -pi.bak -e '{ s/a.com/b.com/; }' `find . -name Root -print`

assuming of course that you don't have files named Root other than those
in CVS subdirs.

HTH

Regards
Sankar


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to