comparison mercurial/commands.py @ 1525:c85e5bbfd141

Merge with TAH
author Matt Mackall <mpm@selenic.com>
date Wed, 09 Nov 2005 13:42:16 -0800
parents fdda77dcf601 95ee4f12fbd9
children c230939283c3 b4ed825282fe
comparison
equal deleted inserted replaced
1524:0d47bb884330 1525:c85e5bbfd141
2396 if a.startswith(cmd): 2396 if a.startswith(cmd):
2397 if choice: 2397 if choice:
2398 raise AmbiguousCommand(cmd) 2398 raise AmbiguousCommand(cmd)
2399 else: 2399 else:
2400 choice = aliases, table[e] 2400 choice = aliases, table[e]
2401 break
2401 if choice: 2402 if choice:
2402 return choice 2403 return choice
2403 2404
2404 raise UnknownCommand(cmd) 2405 raise UnknownCommand(cmd)
2405 2406