[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to update when CVS server moves?
From: |
Sankaranarayanan K V |
Subject: |
Re: How to update when CVS server moves? |
Date: |
Fri, 24 Nov 2000 19:45:30 +0530 |
User-agent: |
Mutt/1.2.5i |
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:address@hidden:/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