Blah Blah Woof Woof

Archived content 2005-2007

Restoring a deleted directory or branch in subversion

Posted by Tim Riley Mon, 03 Sep 2007 00:48:00 GMT

To restore a deleted directory or branch in a subversion repository, use the svn copy command. Copy it from the last revision before it was removed:

svn copy -r 1234 http://svnserver/path/to/branch http://svnserver/path/to/branch


  1. Steve Wick said 24 days later:
    How do you know what revision number to restore?

(leave url/email »)