Search code examples
cvs

How to add directory in CVS


I have a CVS Server. I want to add a new directory in some already existing directory. How can I do this?

CVS add command adds files in already existing directory. I want to know how to add a sub folder in a CVS folder.


Solution

  • Create the directory in a local workspace. cvs add <dirname>. That's it.

    Note that unlike adding files, which require a subsequent cvs commit, when adding a directory the add happens on the server as soon as you've done the cvs add so make sure you choose the right directory name.