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

AW: Re: Newbie question: How to undelete a branch?

From: Markus Karg <markus.karg_at_quipsy.de>
Date: 2006-01-24 12:50:13 CET

Thank you for that tip, now I have back my history. :-)
 
There are two more question related:
 
(a) I tried to merge that restored branch to trunk, so I applied "from 478 to 479" (which I identified as the essential changes I need). But it tells me it cannot apply a directory on itself and gives up (I'm using Subclipse, BTW).
 
(b) I'm running SVN 1.2.3 since our company never uses "dot-zero-versions" (like 1.3.0). What actually are "peg versions"?
 
 
 
Mit freundlichem Gruss / With kind regards
Markus KARG, Staatl. gepr. Inf.
Entwicklung / R & D
QUIPSY QUALITY GmbH

________________________________

Von: Carsten Koch [mailto:Carsten.Koch@icem.com]
Gesendet: Di 24.01.2006 12:10
An: users@subversion.tigris.org
Betreff: Re: Newbie question: How to undelete a branch?

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:54:47 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.