Subject: Re: CVS anon stuff
To: Jeff Rizzo <riz@boogers.sf.ca.us>
From: Feico Dillema <dillema@acm.org>
List: current-users
Date: 03/30/2000 00:56:41
On Wed, Mar 29, 2000 at 02:50:39PM -0800, Jeff Rizzo wrote:
> On Wed, Mar 29, 2000 at 01:47:12PM -0800, Grey Wolf wrote:

> Assuming you've extracted from tarfiles (or used sup), you need to make
> sure the files named "Root" in the CVS directories have the correct 
> information. (By default, the have incorrect info for anon CVS)
> 
> To put the correct repository info into the /usr/src tree, do this:
> 
> % echo :pserver:anoncvs@anoncvs.netbsd.org:/cvsroot >/tmp/Root
> % cd /usr/src
> % find . -name Root -exec cp /tmp/Root {} \;
> % cvs -q update -d -P
> 
> 
> The "find" will correct the tree's idea of CVSROOT, and the update will
> update the files.  (the -d -P means to create new directories as needed,
> and to prune empty ones.)

You can also tell CVS to ignore the CVS/Root entries by setting an
environment variable (something like CVS_IGNORE_REMOTE_ROOT). I'm not
sure about it's name, but it's documented in the anoncvs manual at the
openbsd WWW-site. I think that's a manual worth `stealing' for NetBSD
I think.

Feico.