mercurial/commands.py
changeset 1525 c85e5bbfd141
parent 1523 fdda77dcf601
parent 1520 95ee4f12fbd9
child 1526 c230939283c3
child 1536 b4ed825282fe
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