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 5938F171D6 for ; Mon, 6 Oct 2014 07:30:45 +0000 (UTC) Received: (qmail 10811 invoked by uid 500); 6 Oct 2014 07:30:40 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 10751 invoked by uid 500); 6 Oct 2014 07:30:40 -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 10740 invoked by uid 99); 6 Oct 2014 07:30:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2014 07:30:39 +0000 X-ASF-Spam-Status: No, hits=0.9 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.82.99.228] (HELO nm5-vm7.bt.bullet.mail.ir2.yahoo.com) (212.82.99.228) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2014 07:30:33 +0000 Received: from [212.82.98.46] by nm5.bt.bullet.mail.ir2.yahoo.com with NNFMP; 06 Oct 2014 07:30:10 -0000 Received: from [212.82.98.35] by tm7.bt.bullet.mail.ir2.yahoo.com with NNFMP; 06 Oct 2014 07:30:10 -0000 Received: from [127.0.0.1] by omp1004.bt.mail.ir2.yahoo.com with NNFMP; 06 Oct 2014 07:30:10 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 583471.47574.bm@omp1004.bt.mail.ir2.yahoo.com Received: (qmail 21601 invoked by uid 60001); 6 Oct 2014 07:30:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btopenworld.com; s=s1024; t=1412580610; bh=CD/onYK31rdXsZEP3oVuqLaOtPrrepeELDele8gRYKk=; h=References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=SoDq3AA1PukDYnutGSAA0KqeLGvmyOYuw+RL3yxsIPfzz1PJRt20MKkCRVTQhs+r6FZLmSlWbf1mBldMWXxANuSSzPH9D/TUJcx/O4zhcGoD+f+3ipIMn+5pqzaR0cSOamJXhh4UPo7SX3ylaZ7QxOdmQCNUgRdtQIkId1EeEEA= X-YMail-OSG: rbp7E4AVM1kWderECCb1hbKJSAzeNi03915A59xv3dVypZ7 O21bVY0lb_UU1gJ_P76T0giWchIq4zEg2rWDgJsyYI2NWy7WsrUWrV.kiM4R .Vxc121Bjr7Udi21yb.pZK_af0QbMwQljrKVJEtGyXDGJ9gi6GJeC99tB3y4 kBqtRmUepEvRxfUjWASw8rVMQtjFIeFWG8avdH5mvRQhjItx1DEjIU1_SyGf Q_xXk6DGcVPK.yH_GMoIUrrTRRbs2tMc7rh66StQTg4kMimtgpZ1Di3J.97q rPFV37Qr9K1Dr6XHXpeNcB_ZavjjtV43bxHFRaWNUnorXCKGdM3TvrC0XCdx JKIZ2uwa6juQVPTtFdlnEMfHpx.Kel7YTg7ad3lDkZpmNW20J0pVqvhjP8dh b11zDFOKeeMOYXcLYLPLnK8U87UrYuf6gwDEqMVicDvZztG4izctBG5uiOUp MsoW5j9H6DssK_Do3hhEsBAKeyDdT8BijZNSnsysjwSuq1MHHj1xwZFSCI7h mqLXr_JMQQYkdjkk5TxS7nA9p3NXMyKsqOTAoepI_joBhtGXWkAKnHVy5U_D A2vOBK1M- Received: from [83.216.134.177] by web87701.mail.ir2.yahoo.com via HTTP; Mon, 06 Oct 2014 08:30:10 BST X-Rocket-MIMEInfo: 002.001,RGFuaWVsIFNoYWhhZiB3cm90ZToKCj4gS29uc3RhbnRpbiBLb2xpbmtvIHdyb3RlIG9uIFRodSwgT2N0IDAyLCAyMDE0IGF0IDAzOjQwOjUxICswNDAwOgo.PiAgTXkgdGhvdWdodDoKPj4gCj4.ICBzdm5hZG1pbiBidW1wIC1tICJtZXNzYWdlIiBSRVBPU19QQVRICj4.ICBzdm5yZHVtcCBidW1wIC1tICJtZXNzYWdlIiBVUkwKPj4gCj4.ICBUaGUgY29tbWFuZCBjcmVhdGVzIDEgZW1wdHkgcmV2aXNpb24gYW5kIHRodXMgYnVtcHMgdGhlIHJlcG9zaXRvcnkKPj4gIHJldmlzaW9uIG51bWJlci4gSXQgY2FuIGIBMAEBAQE- X-Mailer: YahooMailWebService/0.8.203.696 References: <1412157162.51628.YahooMailNeo@web87703.mail.ir2.yahoo.com> <20141001225953.GC1767@tarsus.local2> <20141005195306.GB1719@tarsus.local2> Message-ID: <1412580610.53430.YahooMailNeo@web87701.mail.ir2.yahoo.com> Date: Mon, 6 Oct 2014 08:30:10 +0100 From: Julian Foad Reply-To: Julian Foad Subject: Re: Official way to create an empty revision To: Daniel Shahaf , Konstantin Kolinko Cc: dev In-Reply-To: <20141005195306.GB1719@tarsus.local2> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Daniel Shahaf wrote:=0A=0A> Konstantin Kolinko wrote on Thu, Oct 02, 2014 a= t 03:40:51 +0400:=0A>> My thought:=0A>> =0A>> svnadmin bump -m "message" = REPOS_PATH=0A>> svnrdump bump -m "message" URL=0A>> =0A>> The command cre= ates 1 empty revision and thus bumps the repository=0A>> revision number. = It can be repeated in a loop as necessary.=0A> =0A> Two proof-of-concept pa= tches implementing this are attached. [...]=0A=0AThe Subversion project his= tory =0Astarts at revision 836420 in the ASF repository. If I want to clone= it, =0Aone use case for this feature would be to initialize my new reposit= ory =0Awith 836420 empty revisions. An external loop is going to be slow on= =0Athis scale. On my machine with SSD disk, "svnmucc mkdir file://..." =0A= takes 1/8 sec and even "svnadmin delrevprop" takes 1/25 sec, so that's =0Al= ooking like taking a substantial proportion of a *day* to complete 836420= =0A commits.=0A=0AThat's one reason why I think the UI should allow specify= ing how many revisions to create. Even if an initial implementation with an= internal loop is currently no faster, at least it opens the possibility of= changing the implementation later.=0A=0A- Julian=0A