info-cvs
[Top][All Lists]
Advanced

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

Re: checkout -r


From: Larry Jones
Subject: Re: checkout -r
Date: Fri, 15 Mar 2002 12:16:03 -0500 (EST)

Andy Baker writes:
> 
> Can someone explain the logic behind why 'co -r' turns on the '-P' (prune)
> option?

Because branches frequently involve variant directory structures and you
don't want a bunch of irrelevant directories cluttering up your working
directory.  The general concensus seems to be that you should always use
-P on checkout; many people claim that it should be the default and
suggest adding it to your ~/.cvsrc file.

> To get empty dirs checked out locally (using a tag) I'm having to 'update
> -d' after my 'co -r'

CVS doesn't manage directories, only files.  You should have your build
process create any necessary directories rather than trying to control
nothing in your versioning system.  (But if you insist, you can always
add some innocuous file to the directory so that it isn't empty.)

-Larry Jones

He's just jealous because I accomplish so much more than he does. -- Calvin



reply via email to

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