Author: danielsh Date: Thu Apr 16 23:36:00 2015 New Revision: 1674168 URL: http://svn.apache.org/r1674168 Log: Follow-up to r1673692:
* subversion/libsvn_ra_serf/stat.c (fill_dirent_propfunc): Document the deadprop-count semantics change. Modified: subversion/trunk/subversion/libsvn_ra_serf/stat.c Modified: subversion/trunk/subversion/libsvn_ra_serf/stat.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/stat.c?rev=1674168&r1=1674167&r2=1674168&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_ra_serf/stat.c (original) +++ subversion/trunk/subversion/libsvn_ra_serf/stat.c Thu Apr 16 23:36:00 2015 @@ -193,6 +193,9 @@ fill_dirent_propfunc(void *baton, { if (*val->data) { + /* Note: 1.8.x and earlier servers send the count proper; 1.9.0 + * and newer send "1" if there are properties and "0" otherwise. + */ apr_int64_t deadprop_count; SVN_ERR(svn_cstring_atoi64(&deadprop_count, val->data)); fdb->entry->has_props = deadprop_count > 0;