Skip to main content

svn_ra_do_switch

Function svn_ra_do_switch 

Source
pub unsafe extern "C" fn svn_ra_do_switch(
    session: *mut svn_ra_session_t,
    reporter: *mut *const svn_ra_reporter2_t,
    report_baton: *mut *mut c_void,
    revision_to_switch_to: svn_revnum_t,
    switch_target: *const c_char,
    recurse: svn_boolean_t,
    switch_url: *const c_char,
    switch_editor: *const svn_delta_editor_t,
    switch_baton: *mut c_void,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Similar to svn_ra_do_switch2(), but taking @c svn_ra_reporter2_t instead of @c svn_ra_reporter3_t, and therefore only able to report @c svn_depth_infinity for depths. The switch itself is performed according to @a recurse: if TRUE, then use @c svn_depth_infinity for @a depth, else use @c svn_depth_files.

@deprecated Provided for compatibility with the 1.4 API.