Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 3627:44e75d9fa654
remove unused imports
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 13 Nov 2006 13:26:57 -0600 |
parents | 8c4fd0de5de8 |
children | dc3504af7722 |
comparison
equal
deleted
inserted
replaced
3626:02e9355c3420 | 3627: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.""" |