mercurial/commands.py
changeset 3319 80654c248793
parent 3318 a225055b3b59
parent 3317 399c04369a1b
child 3344 d9b3d3d34749
--- a/mercurial/commands.py	Mon Oct 09 15:44:20 2006 +0200
+++ b/mercurial/commands.py	Mon Oct 09 15:52:37 2006 +0200
@@ -3146,7 +3146,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])