Buy the book!
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
The normal way to rename or move a directory is to rename or move each file within it as described in 7.4.1 The Normal way to Rename. Then check out with the `-P' option, as described in 7.3 Removing directories.
If you really want to hack the repository to rename or delete a directory in the repository, you can do it like this:
$ cd $CVSROOT/parent-dir $ mv old-dir new-dir
If someone had a working copy the CVS commands will cease to work for him, until he removes the directory that disappeared inside the repository.
It is almost always better to move the files in the directory instead of moving the directory. If you move the directory you are unlikely to be able to retrieve old releases correctly, since they probably depend on the name of the directories.
|webmaster donations bookstore||delorie software privacy|
|Copyright © 2003 by The Free Software Foundation||Updated Jun 2003|