diff -r f1804f2e7f35 -r 7293cb91bf2a mercurial/commands.py --- a/mercurial/commands.py Sun Jun 26 13:49:27 2005 +0100 +++ b/mercurial/commands.py Sun Jun 26 14:14:04 2005 +0100 @@ -172,13 +172,10 @@ ui.write('hg commands:\n\n') h = {} - for c,e in table.items(): - f = c - aliases = None - if "|" in f: - l = f.split("|") - f, aliases = l[0], l[1:] - if f.startswith("debug"): continue + for c, e in table.items(): + f = c.split("|")[0] + if f.startswith("debug"): + continue d = "" if e[0].__doc__: d = e[0].__doc__.splitlines(0)[0].rstrip()