Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 1998 00:36:50 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        John Polstra <jdp@polstra.com>
Cc:        committers@FreeBSD.ORG
Subject:   Re: Is this a new CVS bug? 
Message-ID:  <199801271636.AAA15237@spinner.netplex.com.au>
In-Reply-To: Your message of "Tue, 27 Jan 1998 08:11:22 PST." <199801271611.IAA17726@austin.polstra.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
John Polstra wrote:
> I ran into this CVS bug on freefall this morning.
> 
> Last night I checked out a few things from the RELENG_2_2 branch:
> 
>     freefall$ ls -F
>     CVS/            brandelf/       include/        sys_i386/       sys_sys/
> 
> I merged in some changes from -current, but didn't commit them.  This
> morning I did a cvs update to make sure there hadn't been other
> commits to any of the files during the night:
> 
>     freefall$ cvs -q upd -Pd -r RELENG_2_2
>     U Makefile
>     U brandelf.1
>     U brandelf.c
>     M brandelf/brandelf.c
>     M include/Makefile
>     A include/elf.h
>     A sys_i386/include/elf.h
>     A sys_sys/elf32.h
>     M sys_sys/imgact_elf.h
> 
>     freefall$ ls -F
>     CVS/            brandelf/       brandelf.c      sys_i386/
>     Makefile        brandelf.1      include/        sys_sys/
> 
> As you can see, it bogusly checked out the brandelf files into my
> top-level directory.
> 
> Is this a new bug, or was it already known?

You ran this on freefall, yes?   If so, then that's still the old cvs on 
there, so it's not a new bug. :-)

Whether or not this is a bug or feature depends on how you look at it.  
cvs has (for a while) created a CVS/ directory in the top level directory 
with a path to the module in question.  Doing a 'cvs update -d -P' in the 
top directory causes the exact effects that you describe.  IMHO, it's a 
bloody pest and in my book it's a bug.  Creating CVS/Root is fine for the 
top directory, but causes more trouble than it's worth.

> --
>    John Polstra                                       jdp@polstra.com
>    John D. Polstra & Co., Inc.                Seattle, Washington USA
>    "Self-knowledge is always bad news."                 -- John Barth
> 

Cheers,
-Peter
--
Peter Wemm <peter@netplex.com.au>   Netplex Consulting





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801271636.AAA15237>