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 0571A18BBB for ; Mon, 22 Feb 2016 17:24:19 +0000 (UTC) Received: (qmail 7992 invoked by uid 500); 22 Feb 2016 17:24:02 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 7945 invoked by uid 500); 22 Feb 2016 17:24:02 -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 7917 invoked by uid 99); 22 Feb 2016 17:24:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2016 17:24:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2915EC3A4E for ; Mon, 22 Feb 2016 17:24:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=wandisco.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 6FtLQYLPn3lv for ; Mon, 22 Feb 2016 17:23:59 +0000 (UTC) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id ACEEF5FACE for ; Mon, 22 Feb 2016 17:23:58 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id b205so165447577wmb.1 for ; Mon, 22 Feb 2016 09:23:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wandisco.com; s=gapps; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=FZ8LY5uJwR0001DYZjRZ0NZeV5FBU3/xc4dtxVx7SJU=; b=DSHhckNYea+03SmySjb5C8s2RMU9aJoD7jN5PYn6yLcec3+vnHtKtySls7N7MnlZbs R1HNZiRapttGKBIMyL7GJf7C8zQHP482PeFJnMWfNyQwSaEJQeJa7JDf3cQWesYqr94u fxOSiofMH2Ihh+P0OApxPmaeIrcybjrAw/ygI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=FZ8LY5uJwR0001DYZjRZ0NZeV5FBU3/xc4dtxVx7SJU=; b=Klm7VR2eb7rmzw3h5LaTgpwJxEIamgWfOipwEvzrkGCUl4uT7dR6wMmz5JNYt0MZMZ Ufa3mQ7BrPahdXyEi7P22G5HbDOYcnzR8anEk1R7s/l56ffFSBQ1H9eX+3tqg1i/8hWh Quouu6UDQVKzSmyB2PXDMr2VhtM88eY0ksUj58uUBa6rnlsg0o5x1geyCg6JPF0P7mJb 2iLIe1tVDvoFdHVjuL0MY5wMNys0zFcBPd1bSMBa2Fhq2Us/S7fKd7OMvv++O0Vwrymx MFWyiJnqNOgx+PTJmZox20tSf9IBV1/eUKfTqFDl785P+AjO6zxSwpIV0jV8IoH4+QHa fA2Q== X-Gm-Message-State: AG10YORrgwFkmQ9B6lP+LC9E8ZsGRGa123sJ8iTSUQtGUKCZhwBFTpkaT1jnMmwnfejTGkXx X-Received: by 10.28.137.139 with SMTP id l133mr14614533wmd.1.1456161838213; Mon, 22 Feb 2016 09:23:58 -0800 (PST) Received: from localhost (cpc81211-farn9-2-0-cust890.6-2.cable.virginm.net. [86.22.207.123]) by smtp.gmail.com with ESMTPSA id c7sm21939028wmd.13.2016.02.22.09.23.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Feb 2016 09:23:57 -0800 (PST) From: Philip Martin To: "Bert Huijben" Cc: "'Daniel Shahaf'" , "'Michal Matyl'" , , , Subject: merging adjacent changes References: <20160214143442.GA5664@tarsus.local2> <3f4901d16d6b$7c9a72c0$75cf5840$@qqmail.nl> <3f9301d16d8c$036f2640$0a4d72c0$@qqmail.nl> Date: Mon, 22 Feb 2016 17:23:56 +0000 In-Reply-To: <3f9301d16d8c$036f2640$0a4d72c0$@qqmail.nl> (Bert Huijben's message of "Mon, 22 Feb 2016 17:13:45 +0100") Message-ID: <87wppw3bgz.fsf_-_@wandisco.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain "Bert Huijben" writes: > Personally I agree that I would like to see a text-conflict raised in > this specific case where the change regions touch each other. But then > there is that old discussion, .... I added the test because we had already, perhaps inadvertently, implemented the behaviour. Back in 2003 we didn't have 'svn resolve' so resolving a text conflict required the user to edit the file. Now we have 'svn resolved' which may make resolving text conflicts easier. Perhaps that allows us to change Subversion to create more conflicts? We know merge is essentially imperfect or fuzzy, the question is where to draw the line. Which, if any, of these cases should merge without conflict and what should the merged result be? 1. common first second ancestor branch branch A A A B Bbr1 B C C Cbr2 D D D 2. common first second ancestor branch branch A A A B Bbr1 B C new new D C C D D 3. common first second ancestor branch branch A A A B Bbr1 B C new new D C Cbr2 D D 4. common first second ancestor branch branch A A A B Bbr1 B C newbr1 newbr2 D C Cbr2 D D There are probably more cases. -- Philip Martin WANdisco