Subject: Re: Trouble cvs'ing security patch. ( Solved )
To: Ian Thomas <ipthomas@mac.com>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-users
Date: 10/12/2003 13:02:44
On Sun, 12 Oct 2003, Ian Thomas wrote:

> >> cd /usr/src
> >> cvs update -P -rnetbsd-1-6 sys/kern/kern_sysctl.c
> >>
> >> 	I get the following error message in return
> >>
> >> cvs [server aborted]: no such directory `sys/kern'
> >> ssh: zathras.local: No address associated with hostname
> >> cvs [update aborted]: end of file from server (consult above messages
> >> if any)

> 	That sorted me out.  The two -d options had me confused.  My tag has
> 'Tnetbsd-1-6'
> and CVS/Root is 'anoncvs@anoncvs.NetBSD.org:/cvsroot', so I should be
> all set doing,
>
> 	cd
> 	echo update -P -d >> ~/.cvsrc
> 	cd /usr/src
> 	cvs update sys/kern/kern_sysctl.c
>
> If you have any idea where the error regarding 'zathras.local' came
> from I'd
> be interested to hear it.  It isn't my hostname, or the one of the CVS
> server I'm
> connecting to.  Appreciate the quick response and helpful summary.

Check the contents of "CVS/Root" in the subdirectories. I think
"zathras" may have been the anoncvs server at some time in the past.
When you do a "cvs -d ... update", any created directories will have
the argument to "-d" as CVS/Root. Later invocations will switch to the
specified server for that subdirectory. This is a feature of "cvs",
that allows you to create a super-checkout from different repositories
on different hosts.

Frederick