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)); >