Delete resources

The delete command can be found in the Edit submenu of the context menu from the Working Copy View.

When you delete a resource from the Subversion working copy it will be removed from the file system and it will be also marked as deleted. If unversioned, added or modified resources will be encountered, a dialog will prompt you to confirm their deletion.

The delete command will not delete from the file system the directories under version control, it will only mark them as deleted. This is because the directories also contain the pristine copy of that directory content. In the Working Copy View this is transparent as all resources will have the deleted mark(-). The directories will be removed from the file system when you commit them to the repository. You can also change your mind completely and revert the deleted files to their initial, pristine state.

If a resource is deleted from the file system without Subversion's knowledge, your working copy will be in an inconsistent state. The resource will be considered and marked as missing (!). If a file was deleted, it will be treated in the same way as if it was deleted by Subversion. However if a directory is missing you will be unable to commit. If you update your working copy, Subversion will replace the missing directory with the latest version from the repository and you can then delete it the correct way using the Delete command. The Delete action is not enabled when the selection contains missing resources.