svn_wc_get_switch_editor4

Function svn_wc_get_switch_editor4 

Source
pub unsafe extern "C" fn svn_wc_get_switch_editor4(
    editor: *mut *const svn_delta_editor_t,
    edit_baton: *mut *mut c_void,
    target_revision: *mut svn_revnum_t,
    wc_ctx: *mut svn_wc_context_t,
    anchor_abspath: *const c_char,
    target_basename: *const c_char,
    switch_url: *const c_char,
    use_commit_times: svn_boolean_t,
    depth: svn_depth_t,
    depth_is_sticky: svn_boolean_t,
    allow_unver_obstructions: svn_boolean_t,
    server_performs_filtering: svn_boolean_t,
    diff3_cmd: *const c_char,
    preserved_exts: *const apr_array_header_t,
    fetch_dirents_func: svn_wc_dirents_func_t,
    fetch_dirents_baton: *mut c_void,
    conflict_func: svn_wc_conflict_resolver_func2_t,
    conflict_baton: *mut c_void,
    external_func: svn_wc_external_update_t,
    external_baton: *mut c_void,
    cancel_func: svn_cancel_func_t,
    cancel_baton: *mut c_void,
    notify_func: svn_wc_notify_func2_t,
    notify_baton: *mut c_void,
    result_pool: *mut apr_pool_t,
    scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

DEPRECATED – please use APIs from svn_client.h


A variant of svn_wc_get_update_editor4().

Set @a *editor and @a *edit_baton to an editor and baton for “switching” a working copy to a new @a switch_url. (Right now, this URL must be within the same repository that the working copy already comes from.) @a switch_url must not be @c NULL.

All other parameters behave as for svn_wc_get_update_editor4().

@since New in 1.7. @deprecated Provided for backward compatibility with the 1.7 API.