equal
deleted
inserted
replaced
5 # This software may be used and distributed according to the terms of the |
5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2, incorporated herein by reference. |
6 # GNU General Public License version 2, incorporated herein by reference. |
7 |
7 |
8 from node import short |
8 from node import short |
9 from i18n import _ |
9 from i18n import _ |
10 import util, os, tempfile, simplemerge, re, filecmp |
10 import util, simplemerge |
|
11 import os, tempfile, re, filecmp |
11 |
12 |
12 def _toolstr(ui, tool, part, default=""): |
13 def _toolstr(ui, tool, part, default=""): |
13 return ui.config("merge-tools", tool + "." + part, default) |
14 return ui.config("merge-tools", tool + "." + part, default) |
14 |
15 |
15 def _toolbool(ui, tool, part, default=False): |
16 def _toolbool(ui, tool, part, default=False): |