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 2196A114A2 for ; Thu, 1 May 2014 22:58:57 +0000 (UTC) Received: (qmail 44397 invoked by uid 500); 1 May 2014 22:58:56 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 44332 invoked by uid 500); 1 May 2014 22:58:55 -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 44325 invoked by uid 99); 1 May 2014 22:58:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 22:58:55 +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: local policy) Received: from [66.111.4.29] (HELO out5-smtp.messagingengine.com) (66.111.4.29) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 22:58:51 +0000 Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id DDFCA21105 for ; Thu, 1 May 2014 18:58:28 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 01 May 2014 18:58:28 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=mesmtp; bh= gdjMMx8Ou1kiXucw0m+sYewTHxc=; b=doua40HKUUemzk3HpkuYsXcvwePlU6vN 1QhNHwrJ02L2dVTyyJCXcAER3wTtoHAPZaIqO2ikzdXt2uM9s8CgR7hHXNv51144 jYrb2A4p2M8Fxwt023DekM/cE9C05k09fdrnVbJfVmCYjHwc/zGCb2go7XBMOnZ5 aTJ9jFX2p3c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=gdjMMx8Ou1kiXucw0m+sYewTHxc=; b=amtY+dOfp47D/Tfchv7zI5/udUeo oMlz0ZfMBxV2J7TFQIow2HlzL+lf+/Vurdv9l2y2Bq63oJJKtfoOEZOO++A0Ndaa 7DNu9pV3FE5W2r2e6uUp+S/VPUYPGOOKE0EPVXbiSvb/waE4v7JnEVtwl2XIpfYM 3bJU1AU4N2xkCYA= X-Sasl-enc: wjEx1ctFZmHLaXIQ1YfJVl5VOGtwO9VDm2HZoMVEJ/jh 1398985108 Received: from tarsus.local2 (unknown [46.19.33.46]) by mail.messagingengine.com (Postfix) with ESMTPA id C189EC007AD; Thu, 1 May 2014 18:58:27 -0400 (EDT) Date: Thu, 1 May 2014 22:58:24 +0000 From: Daniel Shahaf To: Philip Martin Cc: dev@subversion.apache.org, Lev Serebryakov Subject: Re: Three-way merge markers by default Message-ID: <20140501225824.GC1767@tarsus.local2> References: <20140407083449.GF2313@tarsus.local2> <87r459cp7i.fsf@ntlworld.com> <87wqe5l6jv.fsf@ntlworld.com> <20140501225206.GB1767@tarsus.local2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140501225206.GB1767@tarsus.local2> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Checked: Checked by ClamAV on apache.org Daniel Shahaf wrote on Thu, May 01, 2014 at 22:52:06 +0000: > Philip Martin wrote on Thu, May 01, 2014 at 19:04:04 +0100: > > Philip Martin writes: > > > > > svn_diff_conflict_display_modified_latest is similar to the output of > > > GNU diff3 which is probably why it was chosen. Changing it might cause > > > problems for tools that parse the output, but one option for anyone > > > affected would be to use GNU diff3 with --diff3-cmd. > > > > We have our own standalone diff3 in tools/diff/diff3. It currently > > hard-codes the same 2-way output that is hard-coded in libsvn_wc but we > > could make it a command line option. Users who want precise control > > over the ouput could configure it as an external diff3 command, although > > we might want to rename it svndiff3. > > > > "svndiff3" specifically might not be a good name because of the > potential for confusion with svndiff0 and svndiff1 (the libsvn_delta > binary delta formats). "svn-diff3" looks like a subcommand "diff3" of > "svn" (following a pattern used by git, hg, pkgng, etc). Perhaps > 'svn_diff3'? 'make install-tools' puts tools/diff/diff3 in $(prefix)/bin/svn-tools/diff3, along with all other tools. Why would we need to rename it, then? Actually, at least on unix, we could implicitly provide "prefix" as a replaceable in the config file, so that people could write: % cat ~/.subversion/config [helpers] diff3-cmd = %(prefix)s/svn-tools/diff3 and it would work regardless of where the 'svn' binary happened to be installed. (For example, this could be useful if the homedir is shared between multiple boxes that don't all have svn installed into the same prefix.) Daniel