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
Alternatively, if it was a single commit that deleted the branch:
Revert the commit and then commit
svn merge -c -REV . svn commit -m "Reverting deletion of branch XYZ"