mercurial/filemerge.py
changeset 25949 80aba76e29c1
parent 25835 34ffe4c29782
child 26070 e15966216aec
equal deleted inserted replaced
25948:34bd1a5eef5b 25949:80aba76e29c1
     3 # Copyright 2006, 2007, 2008 Matt Mackall <mpm@selenic.com>
     3 # Copyright 2006, 2007, 2008 Matt Mackall <mpm@selenic.com>
     4 #
     4 #
     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 or any later version.
     6 # GNU General Public License version 2 or any later version.
     7 
     7 
     8 from node import short
     8 from __future__ import absolute_import
     9 from i18n import _
     9 
    10 import util, simplemerge, match, error, templater, templatekw
    10 import filecmp
    11 import os, tempfile, re, filecmp
    11 import os
    12 import tagmerge
    12 import re
       
    13 import tempfile
       
    14 
       
    15 from .i18n import _
       
    16 from .node import short
       
    17 
       
    18 from . import (
       
    19     error,
       
    20     match,
       
    21     simplemerge,
       
    22     tagmerge,
       
    23     templatekw,
       
    24     templater,
       
    25     util,
       
    26 )
    13 
    27 
    14 def _toolstr(ui, tool, part, default=""):
    28 def _toolstr(ui, tool, part, default=""):
    15     return ui.config("merge-tools", tool + "." + part, default)
    29     return ui.config("merge-tools", tool + "." + part, default)
    16 
    30 
    17 def _toolbool(ui, tool, part, default=False):
    31 def _toolbool(ui, tool, part, default=False):