mercurial/commands.py
changeset 3294 80654c248793
parent 3293 a225055b3b59
parent 3292 399c04369a1b
child 3342 d9b3d3d34749
equal deleted inserted replaced
3293:a225055b3b59 3294:80654c248793
  3144             for a in aliases:
  3144             for a in aliases:
  3145                 if a.startswith(cmd):
  3145                 if a.startswith(cmd):
  3146                     found = a
  3146                     found = a
  3147                     break
  3147                     break
  3148         if found is not None:
  3148         if found is not None:
  3149             if aliases[0].startswith("debug"):
  3149             if aliases[0].startswith("debug") or found.startswith("debug"):
  3150                 debugchoice[found] = (aliases, table[e])
  3150                 debugchoice[found] = (aliases, table[e])
  3151             else:
  3151             else:
  3152                 choice[found] = (aliases, table[e])
  3152                 choice[found] = (aliases, table[e])
  3153 
  3153 
  3154     if not choice and debugchoice:
  3154     if not choice and debugchoice: