pub unsafe extern "C" fn svn_mergeinfo_diff2(
deleted: *mut svn_mergeinfo_t,
added: *mut svn_mergeinfo_t,
mergefrom: svn_mergeinfo_t,
mergeto: svn_mergeinfo_t,
consider_inheritance: svn_boolean_t,
result_pool: *mut apr_pool_t,
scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Calculate the delta between two mergeinfos, @a mergefrom and @a mergeto (either or both of which may be @c NULL meaning an empty mergeinfo). Place the result in @a *deleted and @a *added (neither output argument may be @c NULL), both allocated in @a result_pool. The resulting @a *deleted and @a *added will not be null.
@a consider_inheritance determines how the rangelists in the two hashes are compared for equality. If @a consider_inheritance is FALSE, then the start and end revisions of the @c svn_merge_range_t’s being compared are the only factors considered when determining equality.
e.g. ‘/trunk: 1,3-4*,5’ == ‘/trunk: 1,3-5’
If @a consider_inheritance is TRUE, then the inheritability of the @c svn_merge_range_t’s is also considered and must be the same for two otherwise identical ranges to be judged equal.
e.g. ‘/trunk: 1,3-4*,5’ != ‘/trunk: 1,3-5’ ‘/trunk: 1,3-4*,5’ == ‘/trunk: 1,3-4*,5’ ‘/trunk: 1,3-4,5’ == ‘/trunk: 1,3-4,5’
@since New in 1.8.