Author: rhuijben
Date: Mon Nov 26 13:16:06 2012
New Revision: 1413593
URL: http://svn.apache.org/viewvc?rev=1413593&view=rev
Log:
Quick and dirty resolve a recent regression on trunk. The proper fix should
avoid the ra session and fix the hang in serf mod_dav_svn communication.
* subversion/libsvn_ra_serf/inherited_props.c
(svn_client__get_inheritable_props): Don't fetch inherited properties
for the repository root as this somehow fails for serf.
Modified:
subversion/trunk/subversion/libsvn_ra_serf/inherited_props.c
Modified: subversion/trunk/subversion/libsvn_ra_serf/inherited_props.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/inherited_props.c?rev=1413593&r1=1413592&r2=1413593&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/inherited_props.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/inherited_props.c Mon Nov 26
13:16:06 2012
@@ -293,6 +293,8 @@ svn_ra_serf__get_inherited_props(svn_ra_
revision,
result_pool, scratch_pool));
+ SVN_ERR_ASSERT(session->repos_root_str);
+
iprops_ctx = apr_pcalloc(scratch_pool, sizeof(*iprops_ctx));
iprops_ctx->done = FALSE;
iprops_ctx->repos_root_url = session->repos_root_str;