Functions | |
| svn_error_t * | svn_wc_is_wc_root2 (svn_boolean_t *wc_root, svn_wc_context_t *wc_ctx, const char *local_abspath, apr_pool_t *scratch_pool) |
Set *wc_root to TRUE if local_abspath represents a "working copy
root", FALSE otherwise. Here, local_abspath is a "working copy root" if its parent directory is not a WC or if its parent directory's repository URL is not the parent of its own repository URL. | |
| svn_error_t * | svn_wc_is_wc_root (svn_boolean_t *wc_root, const char *path, svn_wc_adm_access_t *adm_access, apr_pool_t *pool) |
| Similar to svn_wc_is_wc_root2(), but with an access baton and relative path. | |
| svn_error_t* svn_wc_is_wc_root | ( | svn_boolean_t * | wc_root, | |
| const char * | path, | |||
| svn_wc_adm_access_t * | adm_access, | |||
| apr_pool_t * | pool | |||
| ) |
Similar to svn_wc_is_wc_root2(), but with an access baton and relative path.
TRUE.| svn_error_t* svn_wc_is_wc_root2 | ( | svn_boolean_t * | wc_root, | |
| svn_wc_context_t * | wc_ctx, | |||
| const char * | local_abspath, | |||
| apr_pool_t * | scratch_pool | |||
| ) |
Set *wc_root to TRUE if local_abspath represents a "working copy
root", FALSE otherwise. Here, local_abspath is a "working copy root" if its parent directory is not a WC or if its parent directory's repository URL is not the parent of its own repository URL.
Thus, a switched subtree is considered to be a working copy root. Also, a deleted tree-conflict victim is considered a "working copy root" because it has no URL.
If local_abspath is not found, return the error SVN_ERR_ENTRY_NOT_FOUND.
Use scratch_pool for any temporary allocations.
1.6.3