subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1296252 - /subversion/trunk/subversion/libsvn_client/util.c
Date Fri, 02 Mar 2012 15:36:04 GMT
Author: hwright
Date: Fri Mar  2 15:36:04 2012
New Revision: 1296252

URL: http://svn.apache.org/viewvc?rev=1296252&view=rev
Log:
Fix another client Ev2 shim callback to provide a non-NULL hash.

* subversion/libsvn_client/util.c
  (fetch_props_func): If the WC returns a NULL prophash, we want to return
    an empty one.

Modified:
    subversion/trunk/subversion/libsvn_client/util.c

Modified: subversion/trunk/subversion/libsvn_client/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/util.c?rev=1296252&r1=1296251&r2=1296252&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/util.c (original)
+++ subversion/trunk/subversion/libsvn_client/util.c Fri Mar  2 15:36:04 2012
@@ -287,6 +287,9 @@ fetch_props_func(apr_hash_t **props,
   SVN_ERR(svn_wc_get_pristine_props(props, scb->wc_ctx, local_abspath,
                                     result_pool, scratch_pool));
 
+  if (!*props)
+    *props = apr_hash_make(result_pool);
+
   return SVN_NO_ERROR;
 }
 



Mime
View raw message