Great tortiose SVN tip for bringing back deleted files
I found the following on stack overflow very useful!
you can find the Revision number from the change logs, another good reason to make good commit commments!
I repeated the steps again for one file and it didn't have all the above options. But once in the repo browser I found you the actions 'copy' and 'copy to working...' after which you will then need to run an update to get the file from the Head.
http://stackoverflow.com/questions/490522/what-is-the-correct-way-to-restore-a-a-deleted-file-from-svn/490548#490548
If you're using Tortoise SVN, you should be able to revert changes from just that revision into your working copy (effectively performing a reverse-merge), then do another commit to re-add the file. Steps to follow are:hints:
- Browse to folder in working copy where you deleted the file.
- Go to repo-browser.
- Browse to revision where you deleted the file.
- In the change list, find the file you deleted.
- Right click on the file and go to "Revert changes from this revision".
- This will restore the file to your working copy, keeping history.
- Commit the file to add it back into your repository.
you can find the Revision number from the change logs, another good reason to make good commit commments!
I repeated the steps again for one file and it didn't have all the above options. But once in the repo browser I found you the actions 'copy' and 'copy to working...' after which you will then need to run an update to get the file from the Head.
http://stackoverflow.com/questions/490522/what-is-the-correct-way-to-restore-a-a-deleted-file-from-svn/490548#490548
Comments
Post a Comment