On Mon, Apr 16, 2012 at 13:50, <hwri...@apache.org> wrote: >... > +++ subversion/trunk/subversion/libsvn_client/util.c Mon Apr 16 17:50:05 2012 >... > + /* ### We could probably calculate some of this once, and then cache it for > + use in this function. */ > + SVN_ERR(svn_wc__get_wc_root(&wcroot_abspath, scb->wc_ctx, > + scb->anchor_abspath, > + scratch_pool, scratch_pool)); > + SVN_ERR(svn_wc__node_get_url(&wcroot_url, scb->wc_ctx, wcroot_abspath, > + scratch_pool, scratch_pool)); > + > + relpath = svn_uri_skip_ancestor(wcroot_url, node_url, scratch_pool); > + *local_abspath = svn_dirent_join(wcroot_abspath, relpath, result_pool);
Won't this join() fail in a switched working copy?