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

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

From: DROMARD, Gabriel (CIMPA) <gabriel.dromard_at_airbus.com>
Date: 2006-01-24 14:07:08 CET

Hi,

I'm new on this mailling list, just a little question : What do you mean when you use 'peg' (I'm french)

Gabriel DROMARD

        -----Message d'origine-----
        De : Markus Karg [mailto:markus.karg@quipsy.de]
        Envoyé : mardi 24 janvier 2006 12:50
        À : Carsten Koch; users@subversion.tigris.org
        Objet : AW: Re: Newbie question: How to undelete a branch?


        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


This mail has originated outside your organization,
either from an external partner or the Global Internet.
Keep this in mind if you answer this message.

This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message.
Received on Tue Jan 24 14:25: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.