Subject: Re: cvs update failed
To: Andrew Brown <atatat@atatdot.net>
From: Jeff Rizzo <riz@boogers.sf.ca.us>
List: current-users
Date: 04/27/2000 14:40:52
On Thu, Apr 27, 2000 at 05:03:26PM -0400, Andrew Brown wrote:
> >>>I'm pretty sure that "gdb" became a directory at one stage, so the left
> >>>over gdb file from an earlier build will bugger things up.
> >>
> >>really?  that must have been quite recent.  i believe i last updated
> >>on tuesday afternoon.
> >
> >Actually the gdb directory is no longer there, and hasn't been there for a
> >"long time" (I encountered this same problem about 6 months ago), but it
> >*was* there at some time in the past. Due to suboptimal behavior of CVS wrt
> >deleted directories, it first tries to create this now-extinct directory
> >before pruning it back (if you've specified -P somewhere), resulting in the
> >error.
> 
> i was using "cvs update -d -P" as i learned it from
> 
>    http://www.netbsd.org/Documentation/current/#using-anoncvs
> 
> in the part entitled "To update the sources".


It's been this way for a while... you may not have noticed it earlier if
you did the cvs update after a 'make cleandir'.  I run into this when
trying to update into the directory when there are object files in it.

+j
-- 
Jeff Rizzo                                         http://boogers.sf.ca.us/~riz