Search code examples
svntortoisesvn

How to undelete from the SVN Repository


I accidentally deleted a major folder inside of the Tortoise-SVN Repro Browser. The working folder is unaffected.

What is the recommended way to reverse that?
Do I just Revert back to the previous version? Or do I need to do a Checkout to that previous version into a new folder and delete the old folder?


Solution

    1. Update your working copy to the head version
    2. Check out the prior version to a new folder
    3. SVN Copy the deleted folder from the priorVersionFolder to the headVersionFolder
    4. Add in the headVersionFolder
    5. SVN Commit the headVersionFolder