Need to restore a deleted branch in Subversion
问题 I have two working copies of a Subversion repository, one of the trunk, and one of a branch I created. I accidentally deleted the branch in a repository browser. How do I restore the branch? Is there a way to undo the most recent commit for the whole repository? 回答1: Use: svn cp [path to deleted branch]@[revision before delete] [new path] For example: svn cp svn://myrepo.com/svn/branches/2.0.5@1993 \ svn://myrepo.com/svn/branches/2.0.5_restored Where 1993 is the revision before the delete...