diff mercurial/commands.py @ 3292:399c04369a1b

fix bash completion of debug commands; add test for debugcomplete The debugconfig -> showconfig renaming broke things.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sun, 08 Oct 2006 20:27:23 -0300
parents d89e98840b08
children 80654c248793
line wrap: on
line diff
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3137,7 +3137,7 @@ def findpossible(ui, cmd):
                     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])