mercurial/commands.py
changeset 3317 399c04369a1b
parent 3284 d89e98840b08
child 3319 80654c248793
--- 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])