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

Re: [proposal] API to obtain hereditary mergeinfo

From: Madan U Sreenivasan <madan_at_collab.net>
Date: 2006-07-11 21:16:37 CEST

On Mon, 10 Jul 2006 20:43:50 +0530, Garrett Rooney
<rooneg@electricjellyfish.net> wrote:

> On 7/10/06, Madan U Sreenivasan <madan@collab.net> wrote:

[snip]

>> So, we need an API (or should it be a static function)
>> svn_merge_hereditary_merge_info(), that takes recursively merges the
>> mergeinfo from all its anscestors.
>>
>> I thought I could get your opinion before I go ahead and implement
>> the
>> same.
>
> It does seem like we will need such an API, although I would run
> things by one of the Dans to see if they had plans as to how it would
> be implemented.

On reading the code flow carefully, am now thinking maybe we should let
txn_body_node_proplist() and/or svn_fs_base__dag_get_proplist() handle
svn:mergeinfo as a speecial property (by going through all the parents
till root, and merging all the mergeinfo we get on the way) and not having
to worry about the special nature of svn:mergeinfo in the higher API
layers.

Being not so conversant with the APIs this is what I think on the first
cut of analysis. What do you all think?

Regards,
Madan.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 11 20:46:38 2006

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

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