[Dev] Alec's developer tip of the week
grant at osafoundation.org
Fri Apr 22 10:54:47 PDT 2005
You might want "up -P -d", since otherwise cvs update won't create
directories that other users have added to the repository.
As YASVNP(*), in subversion you can set things like this on a
per-server basis (or globally). Also, since it has a more enlightened
view of directories, there's no silliness with "-P", or "-d", and no
spamming the commit list anytime anyone adds a directory anywhere (one
of my pet peeves about "cvs add" of a directory).
(*) Yet Another SubVersioN Plug
On Apr 21, 2005, at 5:36 PM, Alec Flett wrote:
> ok, so last week I had a bugzilla tip. Now I have a CVS tip.
> Put this file in your home directory, you'll automatically get:
> * "quiet" mode on all cvs commands (-q)
> * compressed connection talking to the cvs server (-z3)
> * unified-diff style patches (Which is what we use for patches) (-u)
> * pruning of empty directories during a "cvs update" (-P)
> This only works with the command line CVS client of course... but its
> still nice.
> cvs -q -z3
> up -P
> diff -u -p
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> Open Source Applications Foundation "Dev" mailing list
More information about the Dev