5 # This software may be used and distributed according to the terms |
5 # This software may be used and distributed according to the terms |
6 # of the GNU General Public License, incorporated herein by reference. |
6 # of the GNU General Public License, incorporated herein by reference. |
7 |
7 |
8 from node import * |
8 from node import * |
9 from i18n import _ |
9 from i18n import _ |
10 import os, sys, mdiff, bdiff, util, templater, patch, commands |
10 import os, sys, atexit, signal, pdb, traceback, socket, errno, shlex |
11 import atexit, signal, pdb, hg, lock, fancyopts, traceback |
11 import mdiff, bdiff, util, templater, patch, commands, hg, lock |
12 import socket, revlog, version, extensions, errno |
12 import fancyopts, revlog, version, extensions |
13 |
13 |
14 revrangesep = ':' |
14 revrangesep = ':' |
15 |
15 |
16 class UnknownCommand(Exception): |
16 class UnknownCommand(Exception): |
17 """Exception raised if command is not in the command table.""" |
17 """Exception raised if command is not in the command table.""" |