Using TortoiseSVN on Windows, how do I delete files from the repository that have already been deleted on the file system? I would expect them to show up as "missing" or "deleted" on my next commit, but that doesn't seem to be the case.
On Linux/Mac, I just run this command:
svn st | grep ^! | cut -b7- | xargs svn delete
-Chris
Deleting files and foldersUse TortoiseSVN → Delete to remove files or folders from Subversion. When you TortoiseSVN → Delete a file or folder, it is removed from your working copy immediately as well as being marked for deletion in the repository on next commit.
Using svn to delete a file from your working copy deletes your local copy of the file, but it merely schedules the file to be deleted from the repository. When you commit, the file is deleted in the repository.
You have to use "Tortoise svn -> delete" to delete the file.
If you have deleted directly by mistake, do an svn update to get the file back and then do "tortoise svn->delete"
:-)
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