<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 8, 2016 at 3:11 PM, Yuya Nishihara <span dir="ltr"><<a href="mailto:yuya@tcha.org" target="_blank">yuya@tcha.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 6 Jan 2016 07:57:16 +0100, Mathias De MarĂ© wrote:<br>
> On Tue, Dec 22, 2015 at 8:06 PM, Matt Mackall <<a href="mailto:mpm@selenic.com">mpm@selenic.com</a>> wrote:<br>
</span><span class="">> > Another strategy would be to try running with the option and looking at<br>
> > output/exit codes.<br>
><br>
> I looked into this and it seems it would add way too much complexity.<br>
> The main reason not to add '--auto-merge' (if I read it correctly in the<br>
> old threads) is concern about custom packages for CentOS 5 and 6 breaking.<br>
> I could extend buildrpm (or dockerrpm) to create a file<br>
> /etc/mercurial/hgrc.d/mergetools.centos[5,6].rc containing only the old<br>
> arguments for Meld.<br>
<br>
</span>It seems the loading order of *.rc files is unstable.<br></blockquote><div>I originally figured this would not be a major problem, since the Mercurial mergetools.rc is not put in /etc.<br></div><div>However, Tortoisehg does seem to use a mergetools.rc. Is there a reason for this difference?<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> All other OSes would get the regular arguments (which<br>
> we can change to add '--auto-merge'). I believe this would be an easier<br>
> approach that does not introduce too much complexity.<br>
><br>
> Does this seem like a good approach?<br>
<br>
</span>Alternatively, you could add new key for meld with --auto-merge. For instance,<br>
we have "kdiff3" and "kdiff3-noauto" in default configuration of TortoiseHg.<br>
</blockquote></div>Indeed, that's also an option (and perhaps even less work). It's a problem with regards to backwards-compatibility though.<br></div></div>