[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: recover a deleted branch

From: steveking <steveking_at_gmx.ch>
Date: Sun, 26 Apr 2009 09:58:49 +0200

Sam Carleton wrote:
> I deleted a brank, v1.1. How do I get it back?
>
> When I look at the history in TortoiseSVN, there was a change in r564,
> than it was deleted in r580. I tried this but it did not work:
>
> C:\>svn copy -r 564 https://<domain>/repos/<root>/branches/v1.1
> https://<domain>/repos/<root>/branches
>
> svn: '/repos/<root>/!svn/bc/581/branches/v1.1' path not found

Open the repository browser from the log dialog by right-clicking on
r579 (the rev before the branch was deleted).
Then browse to that still existing branch in the repo browser,
right-click on it and select "copy to". If you want the deleted branch
to get back with the same url as before, just leave the pre-filled url
in and hit OK.

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1925357

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-26 10:00:02 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.