[PATCH] Fix meld.args in mergetools.rc: add -o $output

Pierre-Yves David pierre-yves.david at logilab.fr
Thu Mar 21 05:53:03 CDT 2013


On Thu, Feb 21, 2013 at 02:04:43PM +0000, Völker Ronny wrote:
> # HG changeset patch
> # User Ronny Voelker <ronny.voelker at gmail.com>
> # Date 1361454565 -3600
> # Node ID 138968bb44d36a06393ecb82c74490914f7598bc
> # Parent  4921b5c2aeed8a6bb0918503f7802508538f01e5
> Fix meld.args in mergetools.rc: add -o $output
> 
> Without this argument meld saves the result of a merge in $base.
> This is a temporary file, which is ignored by Mercurial.
> So the result of the merge is lost.
> 
> diff -r 4921b5c2aeed -r 138968bb44d3 contrib/mergetools.hgrc
> --- a/contrib/mergetools.hgrc   Sun Feb 17 14:34:53 2013 -0600
> +++ b/contrib/mergetools.hgrc               Thu Feb 21 14:49:25 2013 +0100
> @@ -25,7 +25,7 @@
> gpyfm.gui=True
>  meld.gui=True
> -meld.args=--label='local' $local --label='base' $base --label='other' $other
> +meld.args=--label='local' $local --label='base' $base --label='other' $other -o $output
> meld.diffargs=-a --label='$plabel1' $parent --label='$clabel' $child
>  tkdiff.args=$local $other -a $base -o $output

What the status of this patch (and of the merge config in general) I could not
find out from the thread.

Merge is a critical operation in DVCS. It absolutly necessary that merge
operation are clear to the end user. I seems like the "output" panel (where
change will be kept) is unclear with the current configuration. Can we fix
that?



-- 
Pierre-Yves David

http://www.logilab.fr/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130321/241dd198/attachment.pgp>


More information about the Mercurial-devel mailing list