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 9E92E10AF6 for ; Thu, 5 Jun 2014 21:29:06 +0000 (UTC) Received: (qmail 77737 invoked by uid 500); 5 Jun 2014 21:29:06 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 77686 invoked by uid 500); 5 Jun 2014 21:29:06 -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 77679 invoked by uid 99); 5 Jun 2014 21:29:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2014 21:29:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [98.138.229.32] (HELO nm39.bullet.mail.ne1.yahoo.com) (98.138.229.32) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2014 21:29:01 +0000 Received: from [127.0.0.1] by nm39.bullet.mail.ne1.yahoo.com with NNFMP; 05 Jun 2014 21:28:36 -0000 Received: from [98.138.101.129] by nm39.bullet.mail.ne1.yahoo.com with NNFMP; 05 Jun 2014 21:25:46 -0000 Received: from [212.82.98.46] by tm17.bullet.mail.ne1.yahoo.com with NNFMP; 05 Jun 2014 21:25:46 -0000 Received: from [212.82.98.34] by tm7.bt.bullet.mail.ir2.yahoo.com with NNFMP; 05 Jun 2014 21:25:45 -0000 Received: from [127.0.0.1] by omp1003.bt.mail.ir2.yahoo.com with NNFMP; 05 Jun 2014 21:25:45 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 926272.87350.bm@omp1003.bt.mail.ir2.yahoo.com Received: (qmail 91678 invoked by uid 60001); 5 Jun 2014 21:25:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btopenworld.com; s=s1024; t=1402003545; bh=ODSeV1tNJneFn0+6/vx9dNqR54LwI+PCMHWIOevuUqk=; h=References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Ocauv+8Rq6BB80zoRiVsxHHWmqDOkAMBvqr+pu55Ec5I2DboVQqosKLJGGAlrc9E5YMn73uy/gflxgGOAFO+oCrbBfuQYh48f9l5SySfoo1JSTGi1upvXg//xMi19jFSivs13JHh5Ep5nhvbeT98YEK3XbvGRX66McR+XbfuRWU= X-YMail-OSG: m2ByXCMVM1l6JsLidOg8D411ilXtaBerYYn6VVGBpgaus5_ aoeqsR5kqbl3m5qoCh0_w6mT8o.t7rTXt2lFuciBvcLG5iLKeb8J05WA40WM SnINqiCMptUzqB2SNVHVsHmo5LIznyTB3.eddYu4XyEzKM4swnCHJpVRUKVY w8vYTOZPW404gR__CuBeoGdAR82Gj..U97OWxHSCeAyiwK3M23W19KYfcjCk UmWYoQAaYWVUp10WYT6yCh_.q8uAItlDfabVPVtVFo_oBBvJGeIVeB3Dmu5k MzARvMhFqavQTzSvzDOTeBUqZ_tLFOPhjZM1ElfqzLom5pZGFRAUmcmOXlAd PSU_xJdxSKJlyrvHYocNyOraIdvP4sVCa.B0vCBDhGZSr7qoK8CtNZRBcFll otR3nJJl7saeU_kKzJNoocscX.1KVOsPDSFkX__KKQfqfAEyFnF2IgcANv9O j981COCkapQLCaImpvJLYS8fQXPbeMDFCB7ah3zy4l5m7MNCXih2cdYhCuO8 asgI5Y7vbGVfKtTRh4xu33B0mOYDPvt_ezl.3r4dLQ9fV5ene9GXJ8iq6IcR G4DOrxI2I5TMomfaq69Y3fQcouaEbHY5qpfxMmwMclC42EVxA_prXu8VIIyd M2ByL_G.JwRhm2T1d1T8kHcTtLTtMC0wSUPMLblxgxLARTZ_RTtkOAWj7HEM bd5PZ17MIbCySNluU Received: from [195.81.67.129] by web87702.mail.ir2.yahoo.com via HTTP; Thu, 05 Jun 2014 22:25:45 BST X-Rocket-MIMEInfo: 002.001,U3RlZmFuIFNwZXJsaW5nIHdyb3RlOgo.IFBhdGhzIHdoaWNoIHdlcmUgcmVwbGFjZWQgYXJlIG5vdCByZXZlcnNlLW1lcmdlZC4KPiBJcyB0aGlzIGludGVuZGVkIGJlaGF2aW91ciBvciBhIGJ1Zz8KClRoZSBmaXJzdCBrZXkgZmFjdCBoZXJlIGlzIHRob3NlIHJlcGxhY2VtZW50cyBpbnZvbHZlIG5vIGNoYW5nZSBvZiBjb250ZW50OgoKwqAgJCBzdm4gbG9nIC1yNDI3NTgKwqAgcjQyNzU4IHwgWy4uLl0KwqAgQ2hhbmdlZCBwYXRoczoKwqDCoMKgwqAgUiAvdHJ1bmsvZG9jcy9jb3JlL2hvd3RvL2xpc3RpbmcBMAEBAQE- X-Mailer: YahooMailWebService/0.8.188.663 References: <20140603141419.GL18855@ted.stsp.name> Message-ID: <1402003545.47102.YahooMailNeo@web87702.mail.ir2.yahoo.com> Date: Thu, 5 Jun 2014 22:25:45 +0100 (BST) From: Julian Foad Reply-To: Julian Foad Subject: Re: reverse-merge fails to undo replacements To: Stefan Sperling Cc: "dev@subversion.apache.org" In-Reply-To: <20140603141419.GL18855@ted.stsp.name> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Stefan Sperling wrote:=0A> Paths which were replaced are not reverse-merged= .=0A> Is this intended behaviour or a bug?=0A=0AThe first key fact here is = those replacements involve no change of content:=0A=0A=A0 $ svn log -r42758= =0A=A0 r42758 | [...]=0A=A0 Changed paths:=0A=A0=A0=A0=A0 R /trunk/docs/cor= e/howto/listings/logger (from /branches/log-booyah-6750-4/docs/core/howto/l= istings/logger:42757)=0A=A0=A0=A0 [...]=0A=0A=A0 $ svn diff -c 42758 ^/trun= k/docs=0A=A0 [no output]=0A=0AThe second key fact is that the replacement i= s related to the replaced node. That is, I suppose, the reason that even th= e "notice ancestry" mode of diff shows no replacement:=0A=0A=A0 $ svn diff = -c 42758 --notice-ancestry ^/trunk/docs=0A=A0 [no output]=0A=0AI'm not sure= exactly what the relationship is, in terms of which was copied from what a= t what revision -- I haven't checked -- but there's some copied-from relati= onship there.=0A=0AThe changes that "merge" applies are generally meant to = be the same =0Achanges that "diff --notice-ancestry" shows. In that respect= , "merge" is=0Aworking consistently with "diff".=0A=0AAs the merge is behav= ing like diff, I can't see a bug here unless there is some further inconsis= tency to be found.=0A=0AI haven't tried the corresponding forward merge, bu= t I presume it would also do nothing, just like the reverse merge.=0A=0AI a= dmit it's odd that "log -v" shows a replacement but "diff --notice-ancestry= " doesn't; but that's a rather different issue.=0A=0A- Julian=0A=0A=0A> svn= co svn://svn.twistedmatrix.com/svn/Twisted/trunk@42758 wc=0A> cd wc=0A> = =0A> $ svn merge -c -42758 .=0A> --- Reverse-merging r42758 into '.':=0A> D= =A0 =A0 twisted/topfiles/6750.feature=0A> $ svn log -r42758=0A> -----------= -------------------------------------------------------------=0A> r42758 | = wsanchez | 2014-06-03 07:25:58 +0200 (Tue, 03 Jun 2014) | 8 lines=0A> Chang= ed paths:=0A> =A0=A0 R /trunk/docs/core/howto/listings/logger (from =0A> /b= ranches/log-booyah-6750-4/docs/core/howto/listings/logger:42757)=0A[...]=0A