svn_client_get_merging_summary

Function svn_client_get_merging_summary 

Source
pub unsafe extern "C" fn svn_client_get_merging_summary(
    needs_reintegration: *mut svn_boolean_t,
    yca_url: *mut *const c_char,
    yca_rev: *mut svn_revnum_t,
    base_url: *mut *const c_char,
    base_rev: *mut svn_revnum_t,
    right_url: *mut *const c_char,
    right_rev: *mut svn_revnum_t,
    target_url: *mut *const c_char,
    target_rev: *mut svn_revnum_t,
    repos_root_url: *mut *const c_char,
    source_path_or_url: *const c_char,
    source_revision: *const svn_opt_revision_t,
    target_path_or_url: *const c_char,
    target_revision: *const svn_opt_revision_t,
    ctx: *mut svn_client_ctx_t,
    result_pool: *mut apr_pool_t,
    scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Get information about the state of merging between two branches.

The source is specified by @a source_path_or_url at @a source_revision. The target is specified by @a target_path_or_url at @a target_revision, which refers to either a WC or a repository location.

Set @a *needs_reintegration to true if an automatic merge from source to target would be a reintegration merge: that is, if the last automatic merge was in the opposite direction; or to false otherwise.

Set @a *yca_url, @a *yca_rev, @a *base_url, @a *base_rev, @a *right_url, @a *right_rev, @a *target_url, @a *target_rev to the repository locations of, respectively: the youngest common ancestor of the branches, the base chosen for 3-way merge, the right-hand side of the source diff, and the target.

Set @a repos_root_url to the URL of the repository root. This is a common prefix of all four URL outputs.

Allocate the results in @a result_pool. Any of the output pointers may be NULL if not wanted.

@since New in 1.8.