svn_wc_maybe_set_repos_root

Function svn_wc_maybe_set_repos_root 

Source
pub unsafe extern "C" fn svn_wc_maybe_set_repos_root(
    adm_access: *mut svn_wc_adm_access_t,
    path: *const c_char,
    repos: *const c_char,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Set the repository root URL of @a path to @a repos, if possible.

Before Subversion 1.7 there could be working copy directories that didn’t have a stored repository root in some specific circumstances. This function allowed setting this root later.

Since Subversion 1.7 this function just returns #SVN_NO_ERROR.

@since New in 1.3. @deprecated Provided for backwards compatibility with the 1.6 API.