[[[
Fix automatic relocate during update for working copies that are not at repository root

Before, users would see this error: "Invalid relocation destination: 'url' (does not point to target)

* subversion/libsvn_client/update.c
  (update_internal): in call to svn_client_relocate2, replace anchor_url with repos_root_url,
                     because anchor_url is the full path, not the repository root
]]]
Index: subversion/libsvn_client/update.c
===================================================================
--- subversion/libsvn_client/update.c	(revision 1540746)
+++ subversion/libsvn_client/update.c	(working copy)
@@ -383,7 +383,7 @@ update_internal(svn_revnum_t *result_rev,
       SVN_ERR(svn_ra_get_repos_root2(ra_session, &new_repos_root_url, pool));
 
       /* svn_client_relocate2() will check the uuid */
-      SVN_ERR(svn_client_relocate2(anchor_abspath, anchor_url,
+      SVN_ERR(svn_client_relocate2(anchor_abspath, repos_root_url,
                                    new_repos_root_url, ignore_externals,
                                    ctx, pool));
 
