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

RE: How to get history on an overwritten svn url?

From: Brown, Michael <michael.l.brown_at_philips.com>
Date: Wed, 30 Sep 2009 22:23:29 +0200

Brent:
That holds true for anything. If you are trying to debug a problem, you can delete a piece of source and then update it to the revision where you last thought it worked. SVN is a fantastic tool. We love it where I work.
MB
 --
You design it, I'll build it
e-mail: michael.l.brown_at_philips.com
desk: 608-288-6969
cell: 608-206-6843

-----Original Message-----
From: Brent Williams [mailto:brentww04_at_yahoo.com]
Sent: Wednesday, September 30, 2009 3:09 PM
To: users_at_subversion.tigris.org
Subject: Re: How to get history on an overwritten svn url?

Bingo, peg revisions. So if I deleted /trunk at rev 100, I can still
'get it back' with e.g.:

   svn co svn://.../trunk_at_99

Thanks Hyrum!
Bunter

---
On Sep 30, 8:17 pm, "Hyrum K. Wright" <hy..._at_hyrumwright.org> wrote:
> On Sep 30, 2009, at 2:13 PM,Bunterwrote:
>
>
>
> > Hi all tricky question.  We'd like to follow a branch procedure as
> > follows:
>
> >   delete /trunk
> >   branch /sprint to /trunk
>
> >   (two weeks later)
>
> >   delete /trunk
> >   branch /sprint to /trunk
>
> >   (etc.)
>
> > Problem is, when look at the log of /trunk we see the history of the /
> > sprint that just overwrote it (note TortoiseSvn shows an odd gray
> > highlight on the branched-in rev as well).  The question is, how can
> > we see the history of the /trunk that got overwritten?  And the one
> > that got overwritten before that, etc.  Of course we could use unique
> > urls for everything, but we'd like to do it as above to simplify the
> > scripts we have built on top.
>
> You are most likely looking for peg revisions:http://svnbook.red-bean.com/en/1.5/svn.advanced.pegrevs.html
>
> -Hyrum
>
> ------------------------------------------------------http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessa...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_subversion.tigris.org].
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2402264
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2402272
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-30 22:24:26 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.