Reputation: 625
I have been playing around with code in a folder and I now want to complete revert back to the previous revision. I have never once committed anything and I simply want to completely get rid of everything that I've ever done as if I never made any changes at all.
This should be simple enough. I'm following the steps detailed here but I'm getting tripped up on the last step:
You have reverted the changes within your working copy. Check the results, then commit the changes.
I have reverted the folder to a previous revision but the folder still shows all of the files that I made changes to. I don't want tot commit these files. I simply want them gone and the reverted versions in their place.
What am I missing? Should I go ahead and commit my files?
Upvotes: 2
Views: 321
Reputation: 3112
If you're trying to get rid of new files that you don't want committed, you might want to look at the TortoiseSVN -> Cleanup command, here. There's an option to delete unversioned files, and to delete ignored files.
Edit: this was meant as an elaboration on Surender's answer.
Upvotes: 2
Reputation: 757
If you want to undo all changes you made in a file since the last update you need to select the file, right click to pop up the context menu and then select the command TortoiseSVN → Revert A dialog will pop up showing you the files that you've changed and can revert. Select those you want to revert and click on OK
check this
Upvotes: 2