Adding and Removing Folders

Folders are handled fundamentally different from ordinary files by CVS. They are not under revision control, i.e. you cannot tell which folders existed in the project at a certain time. Furthermore, folders can never be explicitly removed (except by removing them directly in the repository).

As a substitute, CVS follows the convention that a folder is "non-existent" in a version of the project if it is empty. This convention can be enforced by using the option -P to cvs update and cvs checkout. This option can be set in the menu SettingsPrune Empty Folders on Update.

A folder can be added to the repository choosing FileAdd to Repository... or right clicking the marked folder and choosing Add to Repository... from the context menu. Note that in contrast to adding files, adding folders does not require a commit afterwards. Cervisia issues the command

cvs add dirname