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

Re: Newbie question: How to undelete a branch?

From: Carsten Koch <Carsten.Koch_at_icem.com>
Date: 2006-01-24 12:10:43 CET

Markus Karg wrote:
...
> I have incidentially deleted a branch from my repository. The version
> before the deletion was 1051, the version after the deletion was 1052.
...
> /project1/branches/branchB <--- This was deleted remotely and I need to
> undelete it
> /project1/branches/branchC

svn copy -r 1051 http://server/repository/project1/branches/branchB http://server/repository/project1/branches -m "Restore branchB from r 1051."

If you have a newer svn version that supports peg revisions,
you can do this:

svn copy http://server/repository/project1/branches/branchB@1051 http://server/repository/project1/branches -m "Restore branchB from r 1051."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 24 12:13:35 2006

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.