You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2012/03/02 16:36:04 UTC
svn commit: r1296252 - /subversion/trunk/subversion/libsvn_client/util.c
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;
}