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 8A8B57E06 for ; Thu, 25 Aug 2011 14:54:10 +0000 (UTC) Received: (qmail 57244 invoked by uid 500); 25 Aug 2011 14:54:10 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 57157 invoked by uid 500); 25 Aug 2011 14:54:09 -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 57150 invoked by uid 99); 25 Aug 2011 14:54:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 14:54:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Thu, 25 Aug 2011 14:54:08 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 13EE22388A3F for ; Thu, 25 Aug 2011 14:53:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1161589 - /subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c Date: Thu, 25 Aug 2011 14:53:47 -0000 To: commits@subversion.apache.org From: danielsh@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110825145348.13EE22388A3F@eris.apache.org> Author: danielsh Date: Thu Aug 25 14:53:47 2011 New Revision: 1161589 URL: http://svn.apache.org/viewvc?rev=1161589&view=rev Log: * subversion/libsvn_fs_fs/fs_fs.c (svn_fs_fs__commit): Relocate a comment in anticipation of future extension. Modified: subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c Modified: subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c?rev=1161589&r1=1161588&r2=1161589&view=diff ============================================================================== --- subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c (original) +++ subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c Thu Aug 25 14:53:47 2011 @@ -6509,10 +6509,11 @@ svn_fs_fs__commit(svn_revnum_t *new_rev_ SVN_ERR(svn_fs_fs__with_write_lock(fs, commit_body, &cb, pool)); + /* At this point, *NEW_REV_P has been set, so errors below won't affect + the success of the commit. (See svn_fs_commit_txn().) */ + if (ffd->rep_sharing_allowed) { - /* At this point, *NEW_REV_P has been set, so errors here won't affect - the success of the commit. (See svn_fs_commit_txn().) */ SVN_ERR(svn_fs_fs__open_rep_cache(fs, pool)); SVN_ERR(svn_sqlite__with_transaction(ffd->rep_cache_db, commit_sqlite_txn_callback,