pub unsafe extern "C" fn svn_wc_upgrade(
wc_ctx: *mut svn_wc_context_t,
local_abspath: *const c_char,
repos_info_func: svn_wc_upgrade_get_repos_info_t,
repos_info_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,
scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Upgrade the working copy at @a local_abspath to the latest metadata storage format. @a local_abspath should be an absolute path to the root of the working copy.
If @a cancel_func is non-NULL, invoke it with @a cancel_baton at various points during the operation. If it returns an error (typically #SVN_ERR_CANCELLED), return that error immediately.
For each directory converted, @a notify_func will be called with in @a notify_baton action #svn_wc_notify_upgraded_path and as path the path of the upgraded directory. @a notify_func may be @c NULL if this notification is not needed.
If the old working copy doesn’t contain a repository root and/or repository uuid, @a repos_info_func (if non-NULL) will be called with @a repos_info_baton to provide the missing information.
@since New in 1.7.