Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > Re: svn commit: r37627 - in trunk/subversion: include libsvn_client libsvn_subr tests/cmdline

subversion
Discussion topic

Back to topic list

Re: svn commit: r37627 - in trunk/subversion: include libsvn_client libsvn_subr tests/cmdline

Author arfrever
Full name Arfrever Frehtes Taifersar Arahesis
Date 2009-05-07 10:20:49 PDT
Message 2009-05-06 21:44 Paul T. Burba <pburba at collab dot net> napisał(a):
> ...
> --- trunk/subversion/inc​lude/svn_mergeinfo.h​    Wed May  6 12:41:45 2009        (r37626)
> +++ trunk/subversion/inc​lude/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_remov​e(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_remov​e2(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_inter​sect(svn_mergeinfo_t​ *mergeinfo,
> @@ -279,6 +295,25 @@ svn_mergeinfo_inters​ect(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_inter​sect2(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

« Previous message in topic | 1 of 2 | Next message in topic »

Messages

Show all messages in topic

Re: svn commit: r37627 - in trunk/subversion: include libsvn_client libsvn_subr tests/cmdline arfrever Arfrever Frehtes Taifersar Arahesis 2009-05-07 10:20:49 PDT
     Re: svn commit: r37627 - in trunk/subversion: include libsvn_client libsvn_subr tests/cmdline Paul Burba <ptburba at gmail dot com> Paul Burba <ptburba at gmail dot com> 2009-05-18 09:22:59 PDT
Messages per page: