mercurial/ui.py
changeset 25989 2cc4e8385661
parent 25660 328739ea70c3
child 26056 5f2a4fc3c4fa
equal deleted inserted replaced
25988:83f220c7d6f0 25989:2cc4e8385661
     3 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
     3 # Copyright 2005-2007 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 __future__ import absolute_import
       
     9 
       
    10 import errno
       
    11 import getpass
     8 import inspect
    12 import inspect
     9 from i18n import _
    13 import os
    10 import errno, getpass, os, socket, sys, tempfile, traceback
    14 import socket
    11 import config, scmutil, util, error, formatter, progress
    15 import sys
    12 from node import hex
    16 import tempfile
       
    17 import traceback
       
    18 
       
    19 from .i18n import _
       
    20 from .node import hex
       
    21 
       
    22 from . import (
       
    23     config,
       
    24     error,
       
    25     formatter,
       
    26     progress,
       
    27     scmutil,
       
    28     util,
       
    29 )
    13 
    30 
    14 samplehgrcs = {
    31 samplehgrcs = {
    15     'user':
    32     'user':
    16 """# example user config (see "hg help config" for more info)
    33 """# example user config (see "hg help config" for more info)
    17 [ui]
    34 [ui]