pub unsafe extern "C" fn svn_repos_fs_begin_txn_for_commit2(
txn_p: *mut *mut svn_fs_txn_t,
repos: *mut svn_repos_t,
rev: svn_revnum_t,
revprop_table: *mut apr_hash_t,
pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Like svn_fs_begin_txn(), but use @a revprop_table, a hash mapping const char * property names to #svn_string_t values, to set the properties on transaction @a *txn_p. @a repos is the repository object which contains the filesystem. @a rev, @a *txn_p, and @a pool are as in svn_fs_begin_txn().
Before a txn is created, the repository’s start-commit hooks are run; if any of them fail, no txn is created, @a *txn_p is unaffected, and #SVN_ERR_REPOS_HOOK_FAILURE is returned.
@note @a revprop_table may contain an #SVN_PROP_REVISION_DATE property, which will be set on the transaction, but that will be overwritten when the transaction is committed.
@since New in 1.5.