[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: update vs. checkout

From: gabriel rosenkoetter
Subject: Re: update vs. checkout
Date: Tue, 30 Oct 2001 01:35:11 -0500
User-agent: Mutt/1.2.5i

On Mon, Oct 29, 2001 at 05:25:53PM +0000, Tom Udale wrote:
> I see.  What is the advantage of the -P (prune directories, if I recall) on
> update?

The way CVS behaves with deleted directories in the repository
(which behavior is, imho, broken, but that's a whole other can of
worms that really doesn't need opening right now) makes it such that
any directory ever cvs added will be recreated on a subsequent cvs
update of the sandbox even if the directory (and its contents) have
been cvs deleted. -P makes those empty (and misleading) directories
go away.

It should be noted that my use of CVS is not exclusively but
primarily with the NetBSD source repository, where there are a host
of deleted directories. But it's my feeling that any large project
will eventual restructure or rename directories, leading to a
similar situation.

       ~ g r @

Attachment: pgpU_4LLu_75C.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]