You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2012/02/15 16:51:37 UTC
svn commit: r1244551 - /subversion/trunk/subversion/libsvn_client/externals.c
Author: rhuijben
Date: Wed Feb 15 15:51:37 2012
New Revision: 1244551
URL: http://svn.apache.org/viewvc?rev=1244551&view=rev
Log:
* subversion/libsvn_client/externals.c
(handle_external_item_change): Following up on r1244466, retrieve the nodes'
repository information instead of where it is currently stored in the
repository. This will also work when the parent is a newly added directory.
Modified:
subversion/trunk/subversion/libsvn_client/externals.c
Modified: subversion/trunk/subversion/libsvn_client/externals.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/externals.c?rev=1244551&r1=1244550&r2=1244551&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/externals.c (original)
+++ subversion/trunk/subversion/libsvn_client/externals.c Wed Feb 15 15:51:37 2012
@@ -703,12 +703,11 @@ handle_external_item_change(const struct
* sure both URLs point to the same repository. See issue #4087.
*/
- SVN_ERR(svn_wc__node_get_origin(NULL, NULL, NULL,
- &local_repos_root_url,
- &local_repos_uuid, NULL,
- eb->ctx->wc_ctx,
- parent_dir_abspath,
- FALSE, scratch_pool, scratch_pool));
+ SVN_ERR(svn_wc__node_get_repos_info(&local_repos_root_url,
+ &local_repos_uuid,
+ eb->ctx->wc_ctx,
+ parent_dir_abspath,
+ scratch_pool, scratch_pool));
ext_repos_relpath = svn_uri_skip_ancestor(repos_root_url,
new_url, scratch_pool);
if (local_repos_uuid == NULL || local_repos_root_url == NULL ||