Re: CVS and making directories go away



Erik Andersen <andersen@inconnect.com> writes:
> I am working on gnomehack (nethack for Gnome) and I have a little
> CVS question.  It seems that (before I started working on gnomehack)
> somebody made a nethack/win/gdb directory.  I have tried to remove
> it (cause it is garbage and it screws up name completion when I try to 
> quick go to nethack/win/gtk) and I can't seem to make it go away.  Simply
> doing a `cvs remove netwin/win/gdb` doesn't seem to do it.
> 
> Does anybody know how to make a directory go away with CVS?

You don't.  You just remove (and cvs rm) all files from that directory.
The next `cvs update -P' will remove that directory.  Note that the
directory will still be on the repository.  And you have to be careful
to add the `-P' flag to every `cvs update' that could potentially bring
that directory back to life.

A really drastic way to remove a directory is to remove the
corresponding directory from the repository -- that requires someone
with Unix write access to the repo, and will cause short term complaints
from subsequent `cvs update's.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



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