comparison mercurial/cmdutil.py @ 4563:8044be585b91

dispatch: restore a dropped shlex import Add test-dispatch as a place for command parsing and dispatch tests.
author Brendan Cully <brendan@kublai.com>
date Tue, 12 Jun 2007 13:21:42 -0700
parents 050fa240db9c
children 97111071d26c
comparison
equal deleted inserted replaced
4562:80d35fba99a8 4563:8044be585b91
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."""