Like add, two stage process: first use cvs remove and then commit the changes.
One "gotcha" - file must be removed from directory first:
$ cvs remove test.py cvs remove: file `test.py' still in working directory cvs remove: 1 file exists; remove it first $ rm test.py $ cvs remove test.py cvs remove: scheduling `test.py' for removal cvs remove: use 'cvs commit' to remove this file permanently $
Solution is to use -f option which will remove the file and schedule it for removal from the repository:
$ cvs remove -f test.py cvs remove: scheduling `test.py' for removal cvs remove: use 'cvs commit' to remove this file permanently $
If you mistakenly remove a file and have not yet committed the change, use cvs add to retrieve file:
$ cvs add test.py U test.py cvs add: test.py, version 1.1, resurrected $