You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kamesh Jayachandran <ka...@collab.net> on 2006/09/18 14:43:23 UTC

[PATCH][merge-tracking]expose txn_mergeinfo for libsvn_fs_util to consume.

Hi All,
As discussed in the thread,
http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=119803
I am posting the libsvn_fs_util patch in 2 parts after incorporating the 
review comments.

This is the first part.

Find the attached patch and log.

With regards
Kamesh Jayachandran



Re: [PATCH][merge-tracking]expose txn_mergeinfo for libsvn_fs_util to consume.

Posted by Daniel Rall <dl...@collab.net>.
On Mon, 18 Sep 2006, Kamesh Jayachandran wrote:
...
> http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=119803
> I am posting the libsvn_fs_util patch in 2 parts after incorporating the 
> review comments.
> 
> This is the first part.
..
>   Expose txn_mergeinfo so that libsvn_fs_util module can consume
>   and index the mergeinfo.
> 
> * subversion/libsvn_fs/fs-loader.h
>   (struct txn_vtable_t): 
>    Add 'txn_mergeinfo' hook.
> 
> * subversion/libsvn_fs_base/revs-txns.c
>   (txn_vtable):
>    Set 'NULL' as placeholder for 'txn_mergeinfo' hook.
> 
> * subversion/libsvn_fs_fs/fs_fs.c
>   (txn_vtable):
>    Set 'svn_fs_fs__txn_mergeinfo' for 'txn_mergeinfo' hook.

Hi Kamesh.  I committed a slightly tweaked version of your patch in
r21528, which calls the hook on the txn_vtable_t structure
"get_mergeinfo" instead of "txn_mergeinfo" (which is already implied
by being an API of that structure, and more in line with other APIs on
it).