diff -r 0b5d626b354e -r 399c04369a1b mercurial/commands.py --- a/mercurial/commands.py Sat Oct 07 15:16:47 2006 -0400 +++ b/mercurial/commands.py Sun Oct 08 20:27:23 2006 -0300 @@ -3137,7 +3137,7 @@ found = a break if found is not None: - if aliases[0].startswith("debug"): + if aliases[0].startswith("debug") or found.startswith("debug"): debugchoice[found] = (aliases, table[e]) else: choice[found] = (aliases, table[e])