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

Re: Revision Graph Question

From: Thomas Charron <twaffle_at_gmail.com>
Date: Thu, 29 May 2008 16:56:23 -0400

On Thu, May 29, 2008 at 3:49 PM, <Stefan.Fuhrmann_at_etas.com> wrote:
> "Thomas Charron" <twaffle_at_gmail.com> wrote on 05/29/2008 06:44:15 PM:
>> Will it show these, and I've simply configured and/or done something
>> wrong? The trunk does have the attribute that it has had the branch
>> merged.
> Due to restrictions in the 1.5 API, it is hard to retrieve
> the required information. Thus, there is no merge info in
> the 1.5 revision graph.

  While albiet time consuming, you do have the information by looking
at the svn:mergeinfo property changes in the branches and in trunk.
This is the same information that is utilized to perform the merge
itself. You would need to look at the branches and trunk and see when
a property change occured on the directory. For example (these are
completely made up logs:

r66 | twaffle | 2008-05-29 08:20:17 -0400 (Thu, 29 May 2008) | 1 line
Changed paths:
   M /branches/twaffle

r57 | twaffle | 2008-05-29 08:20:17 -0400 (Thu, 29 May 2008) | 1 line
Changed paths:
   M /trunk

  The modification path itself is the 'hint'. There may be a better
way to get this information honestly, but that was my first pass
guess. I've actually started to toss something together as a perl
script just to see how it would work to generate a graph.

-- 
-- Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-05-29 22:56:34 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.