[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] - Fix for issue #3792

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 3 Mar 2011 18:19:25 +0100

On Thu, Mar 03, 2011 at 10:39:11PM +0530, Noorul Islam K M wrote:
> @@ -164,9 +171,18 @@
> if (tmpinfo->depth == svn_depth_unknown)
> tmpinfo->depth = svn_depth_infinity;
>
> - SVN_ERR(svn_wc__node_get_schedule(&tmpinfo->schedule, NULL,
> - wc_ctx, local_abspath, pool));
> + if (exclude)
> + tmpinfo->depth = svn_depth_exclude;
>
> + err = svn_wc__node_get_schedule(&tmpinfo->schedule, NULL,
> + wc_ctx, local_abspath, pool);
> +

The following needs some curly braces:

> + if (err)
> + if (exclude && err->apr_err == SVN_ERR_ENTRY_NOT_FOUND)
> + svn_error_clear(err);
> + else
> + return svn_error_return(err);
> +
> SVN_ERR(svn_wc_get_wc_root(&tmpinfo->wcroot_abspath, wc_ctx,
> local_abspath, pool, pool));
>
Received on 2011-03-03 18:20:08 CET

This is an archived mail posted to the Subversion Dev mailing list.