Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to undo a delete tags folder action from svn repo browser

Unfortunately I deleted my entire tags folder from svn repo browser. Can I undo that? If there is any solution to retrieve data please help me.

like image 831
learner Avatar asked Sep 14 '11 08:09

learner


1 Answers

Using TortoiseSVN only you cannot undo the delete operation, but you can copy the tags folder from older revision to your HEAD revision. Here is how you do it:

  1. Open your repo-browser.
  2. Click on the button labeled HEAD (right top corner).
  3. Enter there the revision number just before deletion of tags.
  4. Right-click ontags folder in repo-browser.
  5. Select Copy to...
  6. In the appeared dialog box input the desired path to tags (http://domain/svn/repo/tags).
  7. Open a new repo-browser window and ensure that tags are there.

If you haven't committed anything since tags deletion, you can follow this answer to completely remove unwanted revisions (requires access to svn server and usage of svnadmin commands).

like image 57
Yossi Avatar answered Sep 27 '22 22:09

Yossi