diff mercurial/commands.py @ 3317: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	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])