non-graphical merge tool

Michael Mossey michaelmossey at gmail.com
Thu May 15 02:39:48 UTC 2014


On Wed, May 14, 2014 at 7:07 PM, Dave S <snidely.too at gmail.com> wrote:

> On Wed, May 14, 2014 at 6:36 PM, Michael Mossey <michaelmossey at gmail.com>wrote:
>
>> I'm working on Windows in a two-developer project, and the other guy is
>> not an experienced programmer. If he runs "hg merge" I don't want it to pop
>> him into kdiff3 as he probably won't understand it. I would rather that
>> Mercurial leave conflicting merges in the file with merge marks so he can
>> send it off to me to fix. How would I set Mercurial to do a non-graphical
>> merge in the presence of conflicts, i.e. leave merge marks?
>>
>>
> Maybe use the "internal:fail" merge-tool, and then hg resolve -l ?
> (easily done with a .bat or .sh file)
>
> Another option would be to use hg merge --preview, but then you'd be
> involved even for the no-conflict merges.
>
> /dps
>
>
>

The "Definitive Guide" suggests setting HGMERGE, and in his book examples
he sets it to the Unix tool "merge" to produce the merge marks. This tool
isn't on Windows, however. (kdiff3 is--it comes with WinPython). How do I
tell it to use "internal:fail"?  Is this an hgrc setting? Will merges
complete normally when changes aren't conflicting?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140514/e29036f5/attachment-0002.html>


More information about the Mercurial mailing list