mercurial/commands.py
changeset 3630 44e75d9fa654
parent 3621 8c4fd0de5de8
child 3631 dc3504af7722
equal deleted inserted replaced
3626:02e9355c3420 3630:44e75d9fa654
     8 from demandload import demandload
     8 from demandload import demandload
     9 from node import *
     9 from node import *
    10 from i18n import gettext as _
    10 from i18n import gettext as _
    11 demandload(globals(), "os re sys signal shutil imp urllib pdb shlex")
    11 demandload(globals(), "os re sys signal shutil imp urllib pdb shlex")
    12 demandload(globals(), "fancyopts ui hg util lock revlog templater bundlerepo")
    12 demandload(globals(), "fancyopts ui hg util lock revlog templater bundlerepo")
    13 demandload(globals(), "fnmatch difflib patch random signal tempfile time")
    13 demandload(globals(), "difflib patch tempfile time")
    14 demandload(globals(), "traceback errno socket version struct atexit sets bz2")
    14 demandload(globals(), "traceback errno socket version atexit sets bz2")
    15 demandload(globals(), "archival cStringIO changegroup")
    15 demandload(globals(), "archival changegroup cmdutil hgweb.server sshserver")
    16 demandload(globals(), "cmdutil hgweb.server sshserver")
       
    17 
    16 
    18 class UnknownCommand(Exception):
    17 class UnknownCommand(Exception):
    19     """Exception raised if command is not in the command table."""
    18     """Exception raised if command is not in the command table."""
    20 class AmbiguousCommand(Exception):
    19 class AmbiguousCommand(Exception):
    21     """Exception raised if command shortcut matches more than one command."""
    20     """Exception raised if command shortcut matches more than one command."""