subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1717878 - /subversion/trunk/subversion/libsvn_ra_svn/client.c
Date Thu, 03 Dec 2015 23:40:10 GMT
Author: rhuijben
Date: Thu Dec  3 23:40:10 2015
New Revision: 1717878

URL: http://svn.apache.org/viewvc?rev=1717878&view=rev
Log:
* subversion/libsvn_ra_svn/client.c
  (parse_iproplist): Following up on r1717875, remove some unneeded coded and
    reinstate copying path to the result_pool.

Modified:
    subversion/trunk/subversion/libsvn_ra_svn/client.c

Modified: subversion/trunk/subversion/libsvn_ra_svn/client.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_svn/client.c?rev=1717878&r1=1717877&r2=1717878&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_svn/client.c (original)
+++ subversion/trunk/subversion/libsvn_ra_svn/client.c Thu Dec  3 23:40:10 2015
@@ -1193,7 +1193,6 @@ parse_iproplist(apr_array_header_t **inh
 
 {
   int i;
-  const char *repos_root_url;
   apr_pool_t *iterpool;
 
   if (iproplist == NULL)
@@ -1206,8 +1205,6 @@ parse_iproplist(apr_array_header_t **inh
       return SVN_NO_ERROR;
     }
 
-  SVN_ERR(ra_svn_get_repos_root(session, &repos_root_url, scratch_pool));
-
   *inherited_props = apr_array_make(
     result_pool, iproplist->nelts, sizeof(svn_prop_inherited_item_t *));
 
@@ -1232,7 +1229,7 @@ parse_iproplist(apr_array_header_t **inh
       SVN_ERR(svn_ra_svn__parse_tuple(&elt->u.list, "cl",
                                       &parent_rel_path, &iprop_list));
       SVN_ERR(svn_ra_svn__parse_proplist(iprop_list, iterpool, &iprops));
-      new_iprop->path_or_url = parent_rel_path;
+      new_iprop->path_or_url = apr_pstrdup(result_pool, parent_rel_path);
       new_iprop->prop_hash = svn_hash__make(result_pool);
       for (hi = apr_hash_first(iterpool, iprops);
            hi;



Mime
View raw message