1 # dispatch.py - command dispatching for mercurial |
1 # dispatch.py - command dispatching for mercurial |
2 # |
2 # |
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, incorporated herein by reference. |
6 # GNU General Public License version 2 or any later version. |
7 |
7 |
8 from i18n import _ |
8 from i18n import _ |
9 import os, sys, atexit, signal, pdb, socket, errno, shlex, time |
9 import os, sys, atexit, signal, pdb, socket, errno, shlex, time |
10 import util, commands, hg, fancyopts, extensions, hook, error |
10 import util, commands, hg, fancyopts, extensions, hook, error |
11 import cmdutil, encoding |
11 import cmdutil, encoding |