[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 20:44:19 +0200

As you well know, nothing is ever delete from a tree (the complete repository). For the sake of example providing, we'll call your repository "tree" and your Subversion server "svnsrv".
Where I use it, we use ssh and rsh for access to the repositories, so the URL example will be based upon that.
To see the complete log of the tree, a simple:
        svn log -v svn+rsh://svnsrv/Tree | less
That will get you every svn entry done to that tree. From there you'll notice the pattern as to what happens by your deleting and branching.
As a side comment, I'm not sure why you don't have a branch subdirectory, since you are branching. Additional, why not create sequentionally named branches, or some unique naming convention for the branches? That way you can keep old branches alive and make them a little easier to access. Doing what you are doing, by constantly deleting and recreating "trunk" gets you into the bind you are in today, since you need to keep track of SVN revision numbers that were used for particular "trunks".
If you had this structure:
        Tree/branches/Job_0002 ...
It would then be easy to see the log entries, i.e.,: svn log -v svn+rsh://svnsrv/Tree/branches/Job_0001 | less
You could care less what the SVN revision numbers are.
My 20 cents in the inflated market :-)
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: Bunter [mailto:brentww04_at_yahoo.com]
Sent: Wednesday, September 30, 2009 1:13 PM
To: users_at_subversion.tigris.org
Subject: How to get history on an overwritten svn url?

Hi all tricky question. We'd like to follow a branch procedure as

   delete /trunk
   branch /sprint to /trunk

   (two weeks later)

   delete /trunk
   branch /sprint to /trunk


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.

Thankee kindly,


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.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-30 20:45:05 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.