mercurial/commands.py
changeset 7126 111813de4188
parent 7125 4a1ac535be1d
child 7131 23bd7383891c
equal deleted inserted replaced
7125:4a1ac535be1d 7126:111813de4188
  1307         h = {}
  1307         h = {}
  1308         cmds = {}
  1308         cmds = {}
  1309         for c, e in table.items():
  1309         for c, e in table.items():
  1310             f = c.split("|", 1)[0]
  1310             f = c.split("|", 1)[0]
  1311             if select and not select(f):
  1311             if select and not select(f):
       
  1312                 continue
       
  1313             if select is None and e[0].__module__ != __name__:
  1312                 continue
  1314                 continue
  1313             if name == "shortlist" and not f.startswith("^"):
  1315             if name == "shortlist" and not f.startswith("^"):
  1314                 continue
  1316                 continue
  1315             f = f.lstrip("^")
  1317             f = f.lstrip("^")
  1316             if not ui.debugflag and f.startswith("debug"):
  1318             if not ui.debugflag and f.startswith("debug"):