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 4D23E9B9C for ; Thu, 11 Dec 2014 10:54:09 +0000 (UTC) Received: (qmail 60863 invoked by uid 500); 11 Dec 2014 10:54:04 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 60809 invoked by uid 500); 11 Dec 2014 10:54:04 -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 60799 invoked by uid 99); 11 Dec 2014 10:54:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2014 10:54:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stefan.fuhrmann@wandisco.com designates 209.85.213.172 as permitted sender) Received: from [209.85.213.172] (HELO mail-ig0-f172.google.com) (209.85.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2014 10:53:37 +0000 Received: by mail-ig0-f172.google.com with SMTP id hl2so8099643igb.5 for ; Thu, 11 Dec 2014 02:51:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wandisco.com; s=gapps; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ay8rUHNtITXn7z/xW09mwI3fB9COBiZhxlHOhXWVSlM=; b=KFDFOApLjlj6oH24OFZBbtxvJXfJsyQgl/uI/oslQNNNkH+wEuKofyYpyxzqqXLhgv AViZ6ps1EJ4jCKeenNIZ/UUpDh8++quNJhzoAXV3lPZC1fJi60YmNHr3y1nGwDNA1v3z pFQtyrq+geBGGuHSC6SY0/HIZrCGaDibJIEfk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=ay8rUHNtITXn7z/xW09mwI3fB9COBiZhxlHOhXWVSlM=; b=Lc1Q+5DknAheQjdiCo4evPCJVJDsbXFcVI2oZLzkxTxY89gIpboVXOoFQ3mGeaY4GJ zA8sVcZ6RnJJGtjZSjNB4zMcz+yc8su78QxpwgmObHhQ2gIg9XS/BaSknkCQON3nFD3I DatpSIMaiR51EEd2eLsGg1KBuzM3W3yCxAnFKXdn/IZXwYIjGC2JPwZLeWn+03QoeGwP wOzuxgjJUDL+7rjyKHmWcs2l8lCrAyGXmWP+NuokaBGUcCPRUMLLjU3+tDU0disrX1Fp q8lRmo5bIizOebeapM8iI4qYcLkdvnAQ3mBMBRmyw8OXUVyVSYQAhd/rVZ1+8ZP4TRef eaKg== X-Gm-Message-State: ALoCoQkpsbHr6PY6isXIVeWw3QHaek7HPFS+Wf8qfyTGte122GzCIfg7nidRNlNEWHK9AtThNw/7 MIME-Version: 1.0 X-Received: by 10.42.88.2 with SMTP id a2mr10959267icm.11.1418295080065; Thu, 11 Dec 2014 02:51:20 -0800 (PST) Received: by 10.50.218.143 with HTTP; Thu, 11 Dec 2014 02:51:19 -0800 (PST) In-Reply-To: References: Date: Thu, 11 Dec 2014 11:51:19 +0100 Message-ID: Subject: Re: 'svn up' may cause inconsistent mergeinfo From: Stefan Fuhrmann To: Subversion Development Content-Type: multipart/mixed; boundary=90e6ba5bc5c56fd8a20509ee8eca X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba5bc5c56fd8a20509ee8eca Content-Type: multipart/alternative; boundary=90e6ba5bc5c56fd89c0509ee8ec8 --90e6ba5bc5c56fd89c0509ee8ec8 Content-Type: text/plain; charset=UTF-8 On Thu, Dec 11, 2014 at 10:39 AM, Stefan Fuhrmann < stefan.fuhrmann@wandisco.com> wrote: > Hi, > > There is yet another problem with sub-tree mergeinfo: > > (1) User A performs a sub-tree merge causing the mi property > to be added to the sub-node. No commit, yet. > (2) User B commits a merge at the branch root, modifying its m/i. > (3) User A updates and commits their merge. > > Now, the sub-tree mergeinfo does not reflect the changes > made to the root node m/i. If the latter are operative on that > sub-tree, the data is inconsistent and can create conflicts. > > The attached script demonstrates the problem. > > -- Stefan^2. > ... and there is the script. --90e6ba5bc5c56fd89c0509ee8ec8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On T= hu, Dec 11, 2014 at 10:39 AM, Stefan Fuhrmann <stefan.fuhrmann@= wandisco.com> wrote:
Hi,

There i= s yet another problem with sub-tree mergeinfo:

(1) User A perf= orms a sub-tree merge causing the mi property
=C2=A0 to be added t= o the sub-node. No commit, yet.
(2) User B commits a merge at the branch= root, modifying its m/i.
(3) User A updates and commits their mer= ge.

Now, the sub-tree mergeinfo does not reflect the changesmade to the root node m/i. If the latter are operative on that
s= ub-tree, the data is inconsistent and can create conflicts.

Th= e attached script demonstrates the problem.

-- Stefan^2.

... and there is th= e script.
--90e6ba5bc5c56fd89c0509ee8ec8-- --90e6ba5bc5c56fd8a20509ee8eca Content-Type: application/x-sh; name="mergeinfo-inconsistency.sh" Content-Disposition: attachment; filename="mergeinfo-inconsistency.sh" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i3k0ahra0 IyEvYmluL2Jhc2gKClNWTj1+L2RldmVsb3AvdHJ1bmsvc3VidmVyc2lvbi9zdm4vc3ZuClNWTkFE TUlOPX4vZGV2ZWxvcC90cnVuay9zdWJ2ZXJzaW9uL3N2bmFkbWluL3N2bmFkbWluCkJBU0VfUEFU SD1gcHdkYAoKI2NsZWFuIHVwIGFueSBvbGQgbWVzcwpybSAtcmYgJEJBU0VfUEFUSC93YwpybSAt cmYgJEJBU0VfUEFUSC9yZXBvCmNkICRCQVNFX1BBVEgKCiNuZXcgcmVwbwokU1ZOQURNSU4gY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