2009-05-06 21:44 Paul T. Burba <pburba_at_collab.net> napisał(a):
> ...
> --- trunk/subversion/include/svn_mergeinfo.h Wed May 6 12:41:45 2009 (r37626)
> +++ trunk/subversion/include/svn_mergeinfo.h Wed May 6 12:44:15 2009 (r37627)
> @@ -202,15 +202,33 @@ svn_error_t *
> svn_mergeinfo_merge(svn_mergeinfo_t mergeinfo, svn_mergeinfo_t changes,
> apr_pool_t *pool);
>
> -/** Removes @a eraser (the subtrahend) from @a whiteboard (the
> - * minuend), and places the resulting difference in @a *mergeinfo.
> +/** Like svn_mergeinfo_remove2, but always considers inheritance.
> *
> - * @since New in 1.5.
> + * @deprecated Provided for backward compatibility with the 1.5 API.
> */
You should add SVN_DEPRECATED here...
> svn_error_t *
> svn_mergeinfo_remove(svn_mergeinfo_t *mergeinfo, svn_mergeinfo_t eraser,
> svn_mergeinfo_t whiteboard, apr_pool_t *pool);
>
> +/** Removes @a eraser (the subtrahend) from @a whiteboard (the
> + * minuend), and places the resulting difference in @a *mergeinfo.
> + * Allocates @a *mergeinfo in @a result_pool. Temporary allocations
> + * will be performed in @a scratch_pool.
> + *
> + * @a consider_inheritance determines how to account for the inheritability
> + * of the two mergeinfo's ranges when calculating the range equivalence,
> + * as described for svn_mergeinfo_diff().
> + *
> + * @since New in 1.7.
> + */
> +svn_error_t *
> +svn_mergeinfo_remove2(svn_mergeinfo_t *mergeinfo,
> + svn_mergeinfo_t eraser,
> + svn_mergeinfo_t whiteboard,
> + svn_boolean_t consider_inheritance,
> + apr_pool_t *result_pool,
> + apr_pool_t *scratch_pool);
> +
> /** Calculate the delta between two rangelists consisting of @c
> * svn_merge_range_t * elements (sorted in ascending order), @a from
> * and @a to, and place the result in @a *deleted and @a *added
> @@ -267,11 +285,9 @@ svn_rangelist_remove(apr_array_header_t
> svn_boolean_t consider_inheritance,
> apr_pool_t *pool);
>
> -/** Find the intersection of two mergeinfos, @a mergeinfo1 and @a
> - * mergeinfo2, and place the result in @a *mergeinfo, which is (deeply)
> - * allocated in @a pool.
> +/** Like svn_mergeinfo_intersect2, but always considers inheritance.
> *
> - * @since New in 1.5.
> + * @deprecated Provided for backward compatibility with the 1.5 API.
> */
... and here.
> svn_error_t *
> svn_mergeinfo_intersect(svn_mergeinfo_t *mergeinfo,
> @@ -279,6 +295,25 @@ svn_mergeinfo_intersect(svn_mergeinfo_t
> svn_mergeinfo_t mergeinfo2,
> apr_pool_t *pool);
>
> +/** Find the intersection of two mergeinfos, @a mergeinfo1 and @a
> + * mergeinfo2, and place the result in @a *mergeinfo, which is (deeply)
> + * allocated in @a result_pool. Temporary allocations will be performed
> + * in @a scratch_pool.
> + *
> + * @a consider_inheritance determines how to account for the inheritability
> + * of the two mergeinfo's ranges when calculating the range equivalence,
> + * as described for svn_mergeinfo_diff().
> + *
> + * @since New in 1.5.
> + */
> +svn_error_t *
> +svn_mergeinfo_intersect2(svn_mergeinfo_t *mergeinfo,
> + svn_mergeinfo_t mergeinfo1,
> + svn_mergeinfo_t mergeinfo2,
> + svn_boolean_t consider_inheritance,
> + apr_pool_t *result_pool,
> + apr_pool_t *scratch_pool);
> +
> /** Find the intersection of two rangelists consisting of @c
> * svn_merge_range_t * elements, @a rangelist1 and @a rangelist2, and
> * place the result in @a *rangelist (which is never @c NULL).
--
Arfrever Frehtes Taifersar Arahesis
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2097835
Received on 2009-05-07 19:21:07 CEST