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 2011/04/09 23:13:06 UTC

svn commit: r1090689 - /subversion/trunk/subversion/libsvn_ra_local/ra_plugin.c

Author: rhuijben
Date: Sat Apr  9 21:13:06 2011
New Revision: 1090689

URL: http://svn.apache.org/viewvc?rev=1090689&view=rev
Log:
* subversion/libsvn_ra_local/ra_plugin.c
  (reporter_link_path): Following up on r1090688, create an fspath instead of
    a relpath.

Modified:
    subversion/trunk/subversion/libsvn_ra_local/ra_plugin.c

Modified: subversion/trunk/subversion/libsvn_ra_local/ra_plugin.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_local/ra_plugin.c?rev=1090689&r1=1090688&r2=1090689&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_local/ra_plugin.c (original)
+++ subversion/trunk/subversion/libsvn_ra_local/ra_plugin.c Sat Apr  9 21:13:06 2011
@@ -197,8 +197,9 @@ reporter_link_path(void *reporter_baton,
                                "is not the same repository as\n"
                                "'%s'"), url, rbaton->sess->repos_url);
 
-  fs_path = svn_path_uri_decode(svn_uri_skip_ancestor(repos_url, url),
-                                pool);
+  /* Skip the repos_url, but keep the last '/' to create an fspath */
+  fs_path = svn_uri_skip_ancestor(repos_url, url) - 1;
+  fs_path = svn_path_uri_decode(fs_path, pool);
 
   return svn_repos_link_path3(rbaton->report_baton, path, fs_path, revision,
                               depth, start_empty, lock_token, pool);