mercurial/ui.py
changeset 8312 b87a50b7125c
parent 8259 98acfd1d2b08
child 8345 dcebff8a25dd
equal deleted inserted replaced
8311:e0eb03bfa5af 8312:b87a50b7125c
     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, incorporated herein by reference.
     6 # GNU General Public License version 2, incorporated herein by reference.
     7 
     7 
     8 from i18n import _
     8 from i18n import _
     9 import errno, getpass, os, re, socket, sys, tempfile
     9 import errno, getpass, os, re, socket, sys, tempfile, traceback
    10 import config, traceback, util, error
    10 import config, util, error
    11 
    11 
    12 _booleans = {'1': True, 'yes': True, 'true': True, 'on': True,
    12 _booleans = {'1': True, 'yes': True, 'true': True, 'on': True,
    13              '0': False, 'no': False, 'false': False, 'off': False}
    13              '0': False, 'no': False, 'false': False, 'off': False}
    14 
    14 
    15 class ui(object):
    15 class ui(object):