To remove a file from a Subversion repository, change to the directory with its working copy and run the following command: svn delete file… Similarly, to remove a directory and all files that are in it, type: svn delete directory…
Name. svn delete (del, remove, rm) — Delete an item from a working copy or the repository.
Click on the new working copy and right click to select the repository browser (TortoiseSVN -> Repo-browser) Right click the file of choice in the repository browser and select "Update item to revision"
svn delete --keep-local the_file
Deleting files and folders
If you want to delete an item from the repository, but keep it locally as an unversioned file/folder, use Extended Context Menu → Delete (keep local). You have to hold the Shift key while right clicking on the item in the explorer list pane (right pane) in order to see this in the extended context menu.
Delete completely:
right mouse click → Menu → Delete
Delete & Keep local:
Shift + right mouse click → Menu → Delete
In TortoiseSVN, you can also Shift + right-click to get a menu that includes "Delete (keep local)".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With