Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2004018D28 for ; Thu, 26 Nov 2015 18:37:12 +0000 (UTC) Received: (qmail 38273 invoked by uid 500); 26 Nov 2015 18:37:11 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 38214 invoked by uid 500); 26 Nov 2015 18:37:11 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 38204 invoked by uid 99); 26 Nov 2015 18:37:11 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2015 18:37:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 38ABC1A076C for ; Thu, 26 Nov 2015 18:37:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.753 X-Spam-Level: * X-Spam-Status: No, score=1.753 tagged_above=-999 required=6.31 tests=[KAM_COUK=1.1, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id M8MsTs21q09k for ; Thu, 26 Nov 2015 18:37:03 +0000 (UTC) Received: from know-smtprelay-omc-3.server.virginmedia.net (know-smtprelay-omc-3.server.virginmedia.net [80.0.253.67]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id 6EF2E42AD6 for ; Thu, 26 Nov 2015 18:37:03 +0000 (UTC) Received: from localhost ([86.22.207.123]) by know-smtprelay-3-imp with bizsmtp id mJcv1r00n2gGXTJ01Jcv8N; Thu, 26 Nov 2015 18:36:56 +0000 X-Originating-IP: [86.22.207.123] X-Spam: 0 X-Authority: v=2.1 cv=TYVrzkkh c=1 sm=1 tr=0 a=ToUYnvWPbCPFqWh3RH71vw==:117 a=ToUYnvWPbCPFqWh3RH71vw==:17 a=NTDmIo5yAAAA:8 a=UK53XgEPAAAA:8 a=sYljjkEWNvtD5bC6yqwA:9 From: Philip Martin To: "Bert Huijben" Cc: 'Branko =?utf-8?Q?=C4=8Cibej'?= , Subject: Re: svn commit: r1716548 - /subversion/trunk/subversion/tests/libsvn_fs/fs-test.c References: <20151125213120.9C7FE3A02EE@svn01-us-west.apache.org> <010901d127d0$81dadc60$85909520$@qqmail.nl> <5656395A.60807@apache.org> <011601d127d7$8def30d0$a9cd9270$@qqmail.nl> <87610olvpc.fsf@wandisco.com> <871tbclj6k.fsf@wandisco.com> Date: Thu, 26 Nov 2015 18:36:55 +0000 In-Reply-To: <871tbclj6k.fsf@wandisco.com> (Philip Martin's message of "Thu, 26 Nov 2015 18:17:07 +0000") Message-ID: <87wpt4k3p4.fsf@codematters.co.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Philip Martin writes: > Philip Martin writes: > >> I suppose one way to fix this would be to ensure that every BDB revision >> generates a new node-revision-id. > > To do this we make '/' mutable either when creating the txn, or when > commiting the txn. Patches to do both below. Not sure which one is > best. Seems like this behaviour had been observed in the past, with one of my patches we also need to stop special-casing BDB in ra-tests: Index: subversion/tests/libsvn_ra/ra-test.c =================================================================== --- subversion/tests/libsvn_ra/ra-test.c (revision 1716725) +++ subversion/tests/libsvn_ra/ra-test.c (working copy) @@ -1606,12 +1606,7 @@ commit_empty_last_change(const svn_test_opts_t *op SVN_TEST_ASSERT(dirent != NULL); SVN_TEST_STRING_ASSERT(dirent->last_author, "jrandom"); - /* BDB only updates last_changed on the repos_root when there is an - actual change. Our other filesystems handle this differently */ - if (!opts->fs_type || !strcasecmp(opts->fs_type, "BDB")) - SVN_TEST_ASSERT(dirent->created_rev == 1); - else - SVN_TEST_ASSERT(dirent->created_rev == 2); + SVN_TEST_ASSERT(dirent->created_rev == 2); return SVN_NO_ERROR; } -- Philip