Return-Path: Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: (qmail 40711 invoked from network); 3 Feb 2010 14:20:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 14:20:19 -0000 Received: (qmail 34373 invoked by uid 500); 3 Feb 2010 14:20:19 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 34350 invoked by uid 500); 3 Feb 2010 14:20:19 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org, commits@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 34342 invoked by uid 99); 3 Feb 2010 14:20:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 14:20:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 14:20:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 220F723888EC; Wed, 3 Feb 2010 14:19:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r906061 - /subversion/trunk/subversion/libsvn_client/patch.c Date: Wed, 03 Feb 2010 14:19:56 -0000 To: commits@subversion.apache.org From: stsp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100203141956.220F723888EC@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: stsp Date: Wed Feb 3 14:19:55 2010 New Revision: 906061 URL: http://svn.apache.org/viewvc?rev=906061&view=rev Log: * subversion/libsvn_client/patch.c (install_patched_target): Suppress cancellation while deleting files. The 2 main loops of the patch process already allow cancellation at sane spots. Modified: subversion/trunk/subversion/libsvn_client/patch.c Modified: subversion/trunk/subversion/libsvn_client/patch.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/patch.c?rev=906061&r1=906060&r2=906061&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_client/patch.c (original) +++ subversion/trunk/subversion/libsvn_client/patch.c Wed Feb 3 14:19:55 2010 @@ -1147,11 +1147,11 @@ if (! dry_run) { /* Schedule the target for deletion. Suppress - * notification, we'll do it manually in a minute. */ + * notification, we'll do it manually in a minute. + * Also suppress cancellation. */ SVN_ERR(svn_wc_delete4(ctx->wc_ctx, target->abs_path, FALSE /* keep_local */, FALSE, - ctx->cancel_func, ctx->cancel_baton, - NULL, NULL, pool)); + NULL, NULL, NULL, NULL, pool)); } } else