Author: rhuijben
Date: Fri Jun 25 12:31:28 2010
New Revision: 957917
URL: http://svn.apache.org/viewvc?rev=957917&view=rev
Log:
For consistency, make 'svn status -u --depth infinity' show what an
'svn update --depth infinity' would see, instead of also what an
'svn update --set-depth infinity' would bring into the working
copy, by limiting the reporting to the recorded depth.
If we want to show the additional items we should enable --set-depth
on status -u.
In our test suite we explicitly test for this behavior as shown
by the breakage caused by r957637.
* subversion/libsvn_client/status.c
(svn_client_status5): Pass svn_depth_unknow to svn_ra_status2().
Modified:
subversion/trunk/subversion/libsvn_client/status.c
Modified: subversion/trunk/subversion/libsvn_client/status.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/status.c?rev=957917&r1=957916&r2=957917&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/status.c (original)
+++ subversion/trunk/subversion/libsvn_client/status.c Fri Jun 25 12:31:28 2010
@@ -459,8 +459,8 @@ svn_client_status5(svn_revnum_t *result_
/* Do the deed. Let the RA layer drive the status editor. */
SVN_ERR(svn_ra_do_status2(ra_session, &rb.wrapped_reporter,
&rb.wrapped_report_baton,
- target_basename, revnum, depth, editor,
- edit_baton, pool));
+ target_basename, revnum, svn_depth_unknown,
+ editor, edit_baton, pool));
/* Init the report baton. */
rb.ancestor = apr_pstrdup(pool, URL); /* Edited later */