svn_client_commit4

Function svn_client_commit4 

Source
pub unsafe extern "C" fn svn_client_commit4(
    commit_info_p: *mut *mut svn_commit_info_t,
    targets: *const apr_array_header_t,
    depth: svn_depth_t,
    keep_locks: svn_boolean_t,
    keep_changelists: svn_boolean_t,
    changelists: *const apr_array_header_t,
    revprop_table: *const apr_hash_t,
    ctx: *mut svn_client_ctx_t,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Similar to svn_client_commit5(), but returns the commit info in @a *commit_info_p rather than through a callback function. Does not use #svn_wc_notify_commit_copied or #svn_wc_notify_commit_copied_replaced (preferring #svn_wc_notify_commit_added and #svn_wc_notify_commit_replaced, respectively, instead).

Also, if no error is returned and @a (*commit_info_p)->revision is set to #SVN_INVALID_REVNUM, then the commit was a no-op; nothing needed to be committed.

Sets @a commit_as_operations to FALSE to match Subversion 1.6’s behavior.

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