pub unsafe extern "C" fn svn_fs_upgrade2(
path: *const c_char,
notify_func: svn_fs_upgrade_notify_t,
notify_baton: *mut c_void,
cancel_func: svn_cancel_func_t,
cancel_baton: *mut c_void,
scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_tExpand description
Upgrade the Subversion filesystem located in the directory @a path to the latest version supported by this library. Return #SVN_ERR_FS_UNSUPPORTED_UPGRADE and make no changes to the filesystem if the requested upgrade is not supported. Use @a scratch_pool for temporary allocations.
The optional @a notify_func callback is only a general feedback that the operation is still in process but may be called in e.g. random shard order and more than once for the same shard.
The optional @a cancel_func callback will be invoked as usual to allow the user to preempt this potentially lengthy operation.
@note You probably don’t want to use this directly. Take a look at svn_repos_upgrade2() instead.
@note Canceling an upgrade is legal but may leave remnants of previous format data that may not be cleaned up automatically by later calls.
@since New in 1.9.