Hi

I want to remove a directory from CVS repository.

Here are what I did.

  $ cd foo
  $ rm *
  rm: CVS is a directory
  $ cvs remove
  cvs remove: Removing .
  cvs remove: scheduling `f11' for removal
  cvs remove: scheduling `f22' for removal
    [ ... ]
  $ cvs ci -m "Delete foo"
  cvs commit: Examining .
  Removing f11;
    [ ... ]
  Removing f22;
    [ ... ]
  $ cd ..
  $ cvs update -P
  cvs update: Updating .
  cvs update: Updating foo
    [ ... ]
  $ ls foo
  foo: No such file or directory.
  $ 

However, the "foo" directory is still remain in the repository, and the
next time I run "cvs co", I still get the "foo" directory back.  I don't
want to use "-P" option, because I want to retain other empty
directories.

So, my questions are:
1. Is it safe for me to delete the "foo" directory in CVS repository
   directly?

2. If not, is there an alternative way to do so with other empty
   directories still preserved?

Thanks.  I appreciate your help.

Regards
Hon-Chi



--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.

Reply via email to