Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 547
Clay Nichols Avatar asked May 24 '10 22:05

Clay Nichols


1 Answers

  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
like image 116
Nick DeVore Avatar answered Oct 31 '22 07:10

Nick DeVore