##// END OF EJS Templates
use internal merge tool when specified for a merge-pattern in hgrc...
Dov Feldstern -
r6522:2b181fb3 default
parent child Browse files
Show More
@@ -16,6 +16,8 b' def _toolbool(ui, tool, part, default=Fa'
16 return ui.configbool("merge-tools", tool + "." + part, default)
16 return ui.configbool("merge-tools", tool + "." + part, default)
17
17
18 def _findtool(ui, tool):
18 def _findtool(ui, tool):
19 if tool in ("internal:fail", "internal:local", "internal:other"):
20 return tool
19 k = _toolstr(ui, tool, "regkey")
21 k = _toolstr(ui, tool, "regkey")
20 if k:
22 if k:
21 p = util.lookup_reg(k, _toolstr(ui, tool, "regname"))
23 p = util.lookup_reg(k, _toolstr(ui, tool, "regname"))
General Comments 0
You need to be logged in to leave comments. Login now