Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC00471AA for ; Sun, 24 Jul 2011 14:09:22 +0000 (UTC) Received: (qmail 13681 invoked by uid 500); 24 Jul 2011 14:09:22 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 13616 invoked by uid 500); 24 Jul 2011 14:09:22 -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 Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 13604 invoked by uid 99); 24 Jul 2011 14:09:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jul 2011 14:09:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [108.0.197.17] (HELO orca3.orcaware.com) (108.0.197.17) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jul 2011 14:09:17 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by orca3.orcaware.com (8.14.4/8.14.4/Debian-2ubuntu1) with ESMTP id p6OE8rii023405; Sun, 24 Jul 2011 07:08:53 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orcaware.com; s=default; t=1311516534; bh=CclN06ZcBZHqr3mi6IlYmkARnzVW6cBqaYhsRw6CC2c=; h=Subject:Mime-Version:Content-Type:From:In-Reply-To:Date:Cc: Content-Transfer-Encoding:Message-Id:References:To; b=kjXwh79yj1/J0oveJKd/lS/WdGfy5/BQ6gUh8Taog41jeT+s8/C4rNMbC8EuSDDuP hKh5hR77x2voslD6KQWiU6hv3zHoBNJIk1+WgNqyyi8/cFX+D2vGQpUog6XDmv5qry wQGLRRC+Ly3KmAKYySZ/Gy6gsEWprJqg/EdnjrjY= Subject: Re: svn commit: r1150368 - in /subversion/trunk/subversion/libsvn_client: commit.c commit_util.c Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii From: Blair Zajac In-Reply-To: <20110724135045.66B1E238885D@eris.apache.org> Date: Sun, 24 Jul 2011 07:08:53 -0700 Cc: commits@subversion.apache.org Content-Transfer-Encoding: quoted-printable Message-Id: <14985990-FD50-4C69-AA8C-7C06D509DED9@orcaware.com> References: <20110724135045.66B1E238885D@eris.apache.org> To: dev@subversion.apache.org X-Mailer: Apple Mail (2.1244.3) On Jul 24, 2011, at 6:50 AM, rhuijben@apache.org wrote: > Author: rhuijben > Date: Sun Jul 24 13:50:44 2011 > New Revision: 1150368 >=20 > URL: http://svn.apache.org/viewvc?rev=3D1150368&view=3Drev > Log: > Clear iterpools in two error conditions during commit to avoid = deleting files > with open handles when aborting fs transactions. >=20 > The txdelta part of this patch looks like a small regression = introduced by > switching from subpools to dual pool handling. >=20 > * subversion/libsvn_client/commit.c > (svn_client_commit5): Clear iterpool before aborting the edit to = flush the > most commonly passed scratch pool to the commit processing. This to = avoid > possible similar problems as that caught in svn_client__do_commit. >=20 > * subversion/libsvn_client/commit_util.c > (svn_client__do_commit): Clear iterpool when = svn_wc_transmit_text_deltas3 > fails. The txdelta infrastructure doesn't have a well defined abort > procedure so the current implementations rely on pool cleanup. > But when iterpool isn't cleared here we call the editor's abort = before > this cleanup runs. Do you mean destroy here, as that's what the commit does? Blair