Re: Directory remove from CVS request



Derek Simkowiak wrote:

>         I'm not certain, but I think this may be a problem with your
> working copy, not the repository.  Have you updated using the -P option,
> to 'Prune' empty directories?

or, do this, and you'll never have to forget the -P again:

echo >> ~/.cvsrc <<EOF
diff -ubBp
checkout -P
update -dP
EOF

Adding the -P to update and checkout means "don't bother 
making a directory if there are no files in it, nor any of
its subdirectories".

-- ebm
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
|  __                         a.k.a. Eric B. Mitchell |
|  |_) .  _  _|      _|  _        ricdude@toad.net    |
|  | \ ( (_ (_| (_| (_| (/_    www.toad.net/~ricdude  |
| How's My Programming?   Call:  1 - 800 - DEV - NULL |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+



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