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

Re: svn commit: r933767 - in /subversion/branches/svn-patch-improvements/subversion: libsvn_client/patch.c tests/cmdline/patch_tests.py

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 14 Apr 2010 12:21:02 -0400

On Tue, Apr 13, 2010 at 15:45, <stsp_at_apache.org> wrote:
>...
> +++ subversion/branches/svn-patch-improvements/subversion/libsvn_client/patch.c Tue Apr 13 19:45:17 2010
>...
> +  /* Finally, delete empty directories. */
> +  for (i = 0; i < empty_dirs->nelts; i++)
> +    {
> +      const char *empty_dir;
> +
> +      svn_pool_clear(iterpool);
> +
> +      if (ctx->cancel_func)
> +        SVN_ERR(ctx->cancel_func(ctx->cancel_baton));
> +
> +      empty_dir = APR_ARRAY_IDX(empty_dirs, i, const char *);
> +      if (ctx->notify_func2)
> +        {
> +          svn_wc_notify_t *notify;
> +
> +          notify = svn_wc_create_notify(empty_dir, svn_wc_notify_delete,
> +                                        iterpool);
> +          (*ctx->notify_func2)(ctx->notify_baton2, notify, iterpool);
> +        }
> +      if (! dry_run)
> +        SVN_ERR(svn_wc_delete4(ctx->wc_ctx, empty_dir, FALSE, FALSE,
> +                               NULL, NULL, /* suppress cancellation */
> +                               NULL, NULL, /* suppress notification */
> +                               iterpool));

I can see suppressing notification, but why cancellation?

>...

Cheers,
-g
Received on 2010-04-14 18:21:32 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.