Great tortiose SVN tip for bringing back deleted files

I found the following on stack overflow very useful!

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:
  1. Browse to folder in working copy where you deleted the file.
  2. Go to repo-browser.
  3. Browse to revision where you deleted the file.
  4. In the change list, find the file you deleted.
  5. Right click on the file and go to "Revert changes from this revision".
  6. This will restore the file to your working copy, keeping history.
  7. Commit the file to add it back into your repository.
hints:

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

Popular posts from this blog

Getting Started: Quick Setup for GXT 3 (includes reset.css link how to)

How to setup GXT 3 examples, samples and demos

ExtJs4 : Dynamically Add Columns