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,