diff options
author | Peter Wemm <peter@FreeBSD.org> | 2015-08-09 04:37:39 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2015-08-09 04:37:39 +0000 |
commit | 58218291fa73a17020ef0447398e9e8a78f9e8c7 (patch) | |
tree | 78a13bd0acf7405df6eb6ca94a4e354d124065a6 /subversion/libsvn_client/copy.c | |
parent | 6f0665939667af9f780762878fc35982e8b7d745 (diff) |
Notes
Diffstat (limited to 'subversion/libsvn_client/copy.c')
-rw-r--r-- | subversion/libsvn_client/copy.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/subversion/libsvn_client/copy.c b/subversion/libsvn_client/copy.c index f204bbcf2c4e..1a48b67155b3 100644 --- a/subversion/libsvn_client/copy.c +++ b/subversion/libsvn_client/copy.c @@ -1006,7 +1006,10 @@ repos_to_repos_copy(const apr_array_header_t *copy_pairs, && (relpath != NULL && *relpath != '\0')) { info->resurrection = TRUE; - top_url = svn_uri_dirname(top_url, pool); + top_url = svn_uri_get_longest_ancestor( + top_url, + svn_uri_dirname(pair->dst_abspath_or_url, pool), + pool); SVN_ERR(svn_ra_reparent(ra_session, top_url, pool)); } } |