Reputation: 2119
I forgot to commit and then a do a update to my repo. All deleted files from previous revision were restored. How do I rollback?
Upvotes: 1
Views: 855
Reputation: 67177
If you forgot to commit them, you're lost. You have to delete the files again.
How should the VCS know what you did if you didn't tell the VCS that you did it?
But this is not half as disastrous as if you had lost new stuff you implemented and forgot to commit that...
Upvotes: 1
Reputation: 2704
The information about which files you had deleted is lost, unless you can scroll back your shell to see them. To prevent this from happening in the future, do an 'svn delete' on the files as soon as you decide to delete them. You would have to do a delete before a commit will actually delete the files anyway.
Upvotes: 0