On Friday, September 26, 2003, at 07:14 PM, Dan Sugalski wrote:

At 8:54 PM +0200 9/26/03, Leopold Toetsch wrote:
Dan Sugalski <[EMAIL PROTECTED]> wrote:

cvs -z9 update

cvs -z9 update -dP parrot


to get rid of deleted files too.

Which is a good point, and one I forgot. (Which is annoying, as it's how I update)

Actually, I'm pretty sure that cvs will delete local copies of file removed from the repository with just "cvs update". The "-dP" just affects directories--the "-d" says to pull down and update new directories, and the "-P" tells it to prune (remove) empty directories (this is necessary because cvs doesn't really version directories, and you end up not really having a way to fully remove them from the repository).


My canonical invocation is:

cvs -q -z6 update -dP

(I use -z6 rather than -z9 because I remember reading somewhere that the higher compressions numbers don't save much space, but use a lot more CPU, and level 6 is the default for gzip.)

JEff

Reply via email to