Noorul Islam K M wrote on Thu, Apr 07, 2011 at 10:17:49 +0530:
> Index: subversion/libsvn_client/info.c
> ===================================================================
> --- subversion/libsvn_client/info.c (revision 1089373)
> +++ subversion/libsvn_client/info.c (working copy)
> @@ -408,13 +408,17 @@
> {
> struct found_entry_baton fe_baton;
> svn_error_t *err;
> + svn_boolean_t show_exclude = FALSE;
>
> fe_baton.changelist_hash = changelist_hash;
> fe_baton.receiver = receiver;
> fe_baton.receiver_baton = receiver_baton;
> fe_baton.wc_ctx = ctx->wc_ctx;
>
> - err = svn_wc__node_walk_children(ctx->wc_ctx, local_abspath, FALSE,
> + if (depth == SVN_DEPTH_INFINITY_OR_FILES(TRUE))
> + show_exclude = TRUE;
> +
> + err = svn_wc__node_walk_children(ctx->wc_ctx, local_abspath, show_exclude,
> info_found_node_callback, &fe_baton, depth,
> ctx->cancel_func, ctx->cancel_baton, pool);
>
Suppose that A/ and 'iota' are excluded. 'svn info --depth=immediates
wc_dir' should also show information about both A/ and 'iota', but with
your patch applied it doesn't show information for A/.
(I didn't test 'iota' and testing the equivalent --depth=files recipe.)
Received on 2011-04-07 10:39:49 CEST