[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

API review - svn_wc_is_wc_root2()

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Thu, 30 Jun 2011 11:48:41 +0100

Should we rename this function to something like
"is_wc_root_or_switched"? I think it's confusing that its notion of a
"WC root" doesn't correspond to mine.

/** Set @a *wc_root to @c TRUE if @a local_abspath represents a "working copy
 * root", @c FALSE otherwise. Here, @a 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.
 [...]
 * @since New in 1.7.
 */
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);

- Julian
Received on 2011-06-30 12:49:28 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.