PATCH: cvs.html

Zack Weinberg zack@codesourcery.com
Fri Dec 14 10:49:00 GMT 2001


On Fri, Dec 14, 2001 at 07:29:08PM +0100, Gerald Pfeifer wrote:
> 
> If you already have checked out a tree, you cannot easily change the
> CVS server used by that tree; I believe the command-line option -d of
> cvs will overrule the server stored in the aux. files in your local
> tree, while CVSROOT will *not* overrule these aux. files.

You have to edit all of the CVS/Root files to point to the new
server.  Scripts have been posted for this in the past.  Something
like this (untested!) should work:

perl -pi.bak -e 's|\@gcc\.gnu\.org/cvs|\@subversions\.gnu\.org/cvsroot|' \
	$(find . -name Root | grep CVS/Root)

- replacing gcc\.gnu\.org with the appropriate hostname, whatever you
happen to have in your CVS/Root files.  They're all the same for any
given checkout.

It may also be necessary to tweak the CVS/Repository files, I'm not
sure.

zw



More information about the Gcc-patches mailing list