From: Olly B. <ol...@su...> - 2006-05-16 23:30:09
|
On 2006-05-16, William S Fulton <ws...@fu...> wrote: > This change will require new working copies to be checked out of all > repositories (so control files in the working copy will point to the > right place). While there's no built in CVS command to do this (unlike SVN where you'd just use "svn switch --relocate"), it's not too hard to update the control files manually in an existing tree - very useful if you have a slow connection or a tree with changes you don't want to lose! You just need to update all the files called "Root" in subdirectories called "CVS". The contents should all be the same as the value you would set in CVSROOT (or pass with -d) to check out a tree from the new location - for anoncvs trees: :pserver:ano...@sw...:/cvsroot/swig And for developer trees: swig.cvs.sourceforge.net:/cvsroot/swig If you're on Unix, you can achieve this with this command for anoncvs (run from the top-level SWIG directory): for a in `find . -name Root -print` ; do echo :pserver:ano...@sw...:/cvsroot/swig > $a ; done And this for a developer tree: for a in `find . -name Root -print` ; do echo swig.cvs.sourceforge.net:/cvsroot/swig > $a ; done Cheers, Olly |