Moving Files and Directories

Files can only be moved or renamed by copying them to the new location in the working copy, adding them to the repository, and removing the originals from the repository and the working copy. Directories can only be moved or renamed by creating and adding new directories, recursively copying and adding the directory contents, and then removing the old directory tree. To avoid this complication, use cvsmv :

$ cvsmv <source> <destination>
The source file or directory must be in the current directory, and everything in any source directory tree must already be in CVS. The destination can be a pathname; path directories must exist and be in CVS. A result of the copying and removal is that version numbers start again from 1.1. The old files and directories, with the old version numbers, remain in the repository as described above for retrieval if required.

Make sure everyone who is using the directory tree being moved knows about it and has previously committed any changes, or CVS will get confused.