Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 7126:111813de4188
remove extension commands from global help
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Thu, 12 Jun 2008 11:49:13 +0200 |
parents | 4a1ac535be1d |
children | 23bd7383891c |
comparison
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"): |