I'm using the Mercurial distributed version control system, and I'm wondering how I can configure it to use WinMerge instead of its own internal diff tool. I've already got WinMerge as the merge tool, but I want Mercurial to use WinMerge when I type:
hg diff
Is there any way of doing that, or am I stuck with Mercurial's internal diff tool?
Best Answer
From the TortoiseHg FAQ:
Joel also provided a solution here in case you run Mercurial under Cygwin.
Explanation of WinMerge command line args here. Summary:
/e
enables you to close WinMerge with a single Esc key press/x
closes WinMerge (after displaying an information dialog) when you start a comparison of identical files/u
prevents WinMerge from adding either path (left or right) to the Most Recently Used (MRU) list/wl
opens the left side as read-only