You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2010/06/24 19:18:21 UTC
svn commit: r957638 - /subversion/trunk/subversion/libsvn_client/info.c
Author: rhuijben
Date: Thu Jun 24 17:18:21 2010
New Revision: 957638
URL: http://svn.apache.org/viewvc?rev=957638&view=rev
Log:
* subversion/libsvn_client/info.c
(svn_client_info3): Following up on r957617, convert depth unknown into
depth empty to stop relying on undocumented behavior of
svn_wc__node_walk_children() and other functions that match unknown
via <= empty.
Modified:
subversion/trunk/subversion/libsvn_client/info.c
Modified: subversion/trunk/subversion/libsvn_client/info.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/info.c?rev=957638&r1=957637&r2=957638&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/info.c (original)
+++ subversion/trunk/subversion/libsvn_client/info.c Thu Jun 24 17:18:21 2010
@@ -495,6 +495,9 @@ svn_client_info3(const char *abspath_or_
svn_info_t *info;
svn_error_t *err;
+ if (depth == svn_depth_unknown)
+ depth = svn_depth_empty;
+
if ((revision == NULL
|| revision->kind == svn_opt_revision_unspecified)
&& (peg_revision == NULL