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 1D2DA17B18 for ; Tue, 17 Mar 2015 15:18:44 +0000 (UTC) Received: (qmail 30836 invoked by uid 500); 17 Mar 2015 15:18:43 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 30793 invoked by uid 500); 17 Mar 2015 15:18:43 -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 30782 invoked by uid 99); 17 Mar 2015 15:18:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2015 15:18:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of julianfoad@gmail.com designates 209.85.212.171 as permitted sender) Received: from [209.85.212.171] (HELO mail-wi0-f171.google.com) (209.85.212.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2015 15:18:18 +0000 Received: by wixw10 with SMTP id w10so48543732wix.0 for ; Tue, 17 Mar 2015 08:18:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Uzvf2dY58SlFWbXBE1qHZTeNFyv4x5QTefU/z+v8CKc=; b=d69DXHnJhl9tI+pkwk0Zs3HU+qpaTAfyIc6UlL2fm3XQ8D0m2vl/Tq5mlSRu8Tw5a1 0qN2hW7chCIMPkwm2/iIyiaiWev53DtNNfRxOfmA8W7aodeNx41B3qnqGIVLoY+Gp9Wo H7Gks95j75OaQ7DI05xRf06FFjK/Otj6soaI3+hyd7xbkMoGX2z1QsBbIJqGbLcQ3Q0G TRJlD6YbkgrQSjpp3naevPg7QSBpNaxVS33cOku6yIZ1XZ8x5B8hT4sDL7+51t2Zvdxj KjumFcDijYFtFmC4TQvkS4GAaWaotTOr4MAAaijiXTcCIaLTHbLHoggrteXDUU9aAcJ3 FIqA== X-Received: by 10.180.8.165 with SMTP id s5mr130668849wia.16.1426605496549; Tue, 17 Mar 2015 08:18:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.185.40 with HTTP; Tue, 17 Mar 2015 08:17:56 -0700 (PDT) In-Reply-To: References: From: Julian Foad Date: Tue, 17 Mar 2015 15:17:56 +0000 Message-ID: Subject: Re: Playing with svnmover To: dev Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On 13 March 2015, Julian Foad wrote: > Dear fans of move tracking, > > I heartily invite you to help by playing with 'svnmover'. Can you have > a go and see what it can do? It's quite fun to play with (in a nerdy > way :-) One unimplemented bit you might come across is 'svnmover merge' doesn't try to merge file content. It reports a conflict if file content (text and/or props) needs merging. That's simply because it isn't directly relevant to the move logic so I didn't bother to implement it yet; we can use directories instead of files, or files without content changes, to test the move logic. Please feel free to add text and props merging code near the comment /* ### Need not conflict if can merge props and text separately. */ in svnmover.c:element_merge(), if you fancy doing so. Anyone tried or planning to try this, yet? - Julian > > To get it, build the 'move-tracking-2' branch and look in > 'subversion/svnmover/svnmover' -- it's a sibling to 'svn' and > 'svnmucc'. > > It's fairly easy to pick up as you go along. There's a transcript > below, as an example. You can also see in the IRC history [1] where I > guided Brane through playing with it for the first time. > > You can try > > - doing renames/moves (using 'mv PATH1 PATH2') > - merging those changes onto another branch ('merge FROM TO YCA') > - visualize what's happening ('branches PATH', 'ls PATH', 'ls-br-r') > - type 'help' to see usage message > > You should find that it copes perfectly with renames inside renames, and so on. > > Do please share any thoughts or questions you have -- > > * about the model > > * do you grok the way moves work in svnmover? > > * any new feature 'svnmover' should have to help with experimenting? > > I believe we can build a move-tracking design for Subversion. This > stage is not trying to give the final answer, it is squarely aimed at > exploring and understanding how it could and should work. So I need > *your* input, please, if you can spare some thought cycles and > experimentation cycles. > > > > Here's an example transcript. [...]