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

Re: Regarding Adding Merge Lines in Revision graph

From: SVram <malsam.v2_at_gmail.com>
Date: Fri, 18 Dec 2009 06:50:23 -0800 (PST)

Hans-Emil Skogh wrote:
>
>
>>One way to get the required information would be to use the information we
get from the log. If we see >that the path that we are examining has got
property changes in a revision, we could get the properties >and then
specifically check for changes in svn:mergeinfo. Any changes to that propery
would translate >to a merge operation performed in that revision.
>
>>This would make the revision graph even slower, as we would need to fetch
all property changes made >to a path, but I think it would be a possible
solution. Or is there a smoother way to get at this >information?
>
>

Hello Hans

As far as I can see we can get the required merge information by using the
following SVN command
* SVN LOG -G -V -R X:Y * where X and y is a revision range involved.

The above command will fetch the history of each revisions along with its
corresponding mergeinfo (if any). I tried

svn log -g -v -r 39834 http://svn.collab.net/repos/svn/branches/1.6.x

http://old.nabble.com/file/p26844541/MergeInfoUsingLOG%2BG.txt
MergeInfoUsingLOG+G.txt

and attached the output file here.So I dont think so we should do log ,
check for Properitychanges or so.

So I am right now analysing TSVN Cache structure, Once it is known we can
just store the collected data into the cache and retrieve it back for
generating graphs.

1. First thing is that we should analyse how exactly the cache file is
created from log and how can we
add data into that cache so that it is not breaking the backward
compatibility. ( Must do some tweaks to CRootOutputStream or any class
related to that) I am looking at that right now.

2. Once that is done, We need to study how the data is again retrieved from
that cache file(Using Indexpairdictionary and revision index)

Any Suggestions ??

Thanks & Regards,
S V Ram

-- 
View this message in context: http://old.nabble.com/Regarding-Adding-Merge-Lines-in-Revision-graph-tp26536078p26844541.html
Sent from the tortoisesvn - dev mailing list archive at Nabble.com.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2431497
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-18 16:15:51 CET

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.