mercurial/commands.py
changeset 3317 399c04369a1b
parent 3284 d89e98840b08
child 3319 80654c248793
equal deleted inserted replaced
3291:0b5d626b354e 3317:399c04369a1b
  3135             for a in aliases:
  3135             for a in aliases:
  3136                 if a.startswith(cmd):
  3136                 if a.startswith(cmd):
  3137                     found = a
  3137                     found = a
  3138                     break
  3138                     break
  3139         if found is not None:
  3139         if found is not None:
  3140             if aliases[0].startswith("debug"):
  3140             if aliases[0].startswith("debug") or found.startswith("debug"):
  3141                 debugchoice[found] = (aliases, table[e])
  3141                 debugchoice[found] = (aliases, table[e])
  3142             else:
  3142             else:
  3143                 choice[found] = (aliases, table[e])
  3143                 choice[found] = (aliases, table[e])
  3144 
  3144 
  3145     if not choice and debugchoice:
  3145     if not choice and debugchoice: