The K Desktop Environment

2.2. Removing files

Like adding files, removing files is done in two steps: First, the files have to be registered as removed by choosing File->Remove from repository which issues the command

 cvs remove -f filenames

After that, this modification to the sandbox has to be commited, possibly together with other modifications to the project.

Note

The above command only works if the file is up-to-date. Otherwise, you get an error message. This behaviour is sensible: If you have modified the file compared to the version in the repository, or if someone else has made any modifications, you will first want to check if you really want to discard them.