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/07/12 11:22:57 UTC

svn commit: r1145508 - /subversion/trunk/subversion/libsvn_ra_neon/fetch.c

Author: rhuijben
Date: Tue Jul 12 09:22:57 2011
New Revision: 1145508

URL: http://svn.apache.org/viewvc?rev=1145508&view=rev
Log:
* subversion/libsvn_ra_neon/fetch.c
  (custom_get_request): Document argument is relative to the editor run by
     renaming it.

Modified:
    subversion/trunk/subversion/libsvn_ra_neon/fetch.c

Modified: subversion/trunk/subversion/libsvn_ra_neon/fetch.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_neon/fetch.c?rev=1145508&r1=1145507&r2=1145508&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_neon/fetch.c (original)
+++ subversion/trunk/subversion/libsvn_ra_neon/fetch.c Tue Jul 12 09:22:57 2011
@@ -334,7 +334,7 @@ static svn_error_t *add_props(apr_hash_t
 
 static svn_error_t *custom_get_request(svn_ra_neon__session_t *ras,
                                        const char *url,
-                                       const char *relpath,
+                                       const char *editor_relpath,
                                        svn_ra_neon__block_reader reader,
                                        void *subctx,
                                        svn_ra_get_wc_prop_func_t get_wc_prop,
@@ -347,7 +347,7 @@ static svn_error_t *custom_get_request(s
   svn_ra_neon__request_t *request;
   svn_error_t *err;
 
-  if (use_base && relpath != NULL)
+  if (use_base && editor_relpath != NULL)
     {
       /* See if we can get a version URL for this resource. This will
          refer to what we already have in the working copy, thus we
@@ -357,7 +357,8 @@ static svn_error_t *custom_get_request(s
         {
           const svn_string_t *value;
 
-          SVN_ERR(get_wc_prop(cb_baton, relpath, SVN_RA_NEON__LP_VSN_URL,
+          SVN_ERR(get_wc_prop(cb_baton, editor_relpath,
+                              SVN_RA_NEON__LP_VSN_URL,
                               &value, pool));
 
           delta_base = value ? value->data : NULL;