How to recover an accidentally deleted folder in a svn repository
19,057
The easiest way is probably to svn copy the tree you want, from the revision where it last existed:
svn copy src@rev dest
See the Subversion Book for details.
Comments
-
Corey Floyd almost 2 years
I know how to revert to a specific revision of a folder using these instructions:
However, I deleted the entire folder and want to get that folder back without reverting the rest of the repository.
I tried recreating the folder and then merging the changes back, but svn knows my trick and realizes it is a new folder.
How should I do this?
-
Corey Floyd over 14 yearsDoes that copy the revision history as well? I mean can I browse the history of files in the copied folder?