RE: [Plib-devel] UL directory.
Brought to you by:
sjbaker
From: Norman V. <nh...@ca...> - 2000-05-17 02:47:41
|
Curt writes: >Steve Baker writes: >> Well, I've tried absolutely everything and I can't get CVS to >> get rid of that 'UL' directory. > >As far as I know, CVS provides no commands or options to remove a >directory. > FWIW < snipped from the CVS book > Removing Directories As I said before, CVS doesn't really keep directories under version control. Instead, as a kind of cheap substitute, it offers certain odd behaviors that in most cases do the "right thing". One of these odd behaviors is that empty directories can be treated specially. If you want to remove a directory from a project, you first remove all the files in it floss$ cd dir floss$ rm file1 file2 file3 floss$ cvs remove file1 file2 file3 (output omitted) floss$ cvs ci -m "removed all files" file1 file2 file3 (output omitted) and then run update in the directory above it with the -P flag: floss$ cd .. floss$ cvs update -P (output omitted) The -P option tells update to "prune" any empty directories - that is, to remove them from the working copy. Once that's done, the directory can be said to have been removed; all of its files are gone, and the directory itself is gone (from the working copy, at least, although there is actually still an empty directory in the repository). |