Subject: Re: CVS mirrors
To: Mark White <mark.white@st-edmund-hall.oxford.ac.uk>
From: Bill Squier <groo@old-ones.com>
List: current-users
Date: 02/22/2001 11:23:50
On Thu, Feb 22, 2001 at 04:20:47PM +0000, Mark White wrote:
> Is there any way of doing this other than issuing -d [root]
> on the cvs command line every time? Can I change the
> 'default' server throughout the tree, somehow? Or is the
> only way I can make it right to cvs checkout the sources
> from the appropriate anoncvs mirror in the first place?
Just replace the CVS/Root files throughout the tree.
echo anoncvs@my.mirror.com:/cvsroot > /tmp/newRoot
find /usr/src -name Root -exec cp /tmp/newRoot \{\} \;
(or roll the creation into the find, or exec sed on the file, or...)
--
Bill Squier (groo@old-ones.com) http://www.netbsd.org
I know I don't deserve a second chance, but this _is_ America,
and as an American, aren't I entitled to one? --Sideshow Bob.