mercurial/help.py
changeset 22160 645457f73aa6
parent 22118 9a299c39de01
child 22162 7ada34676db8
--- a/mercurial/help.py	Sat May 17 20:47:31 2014 +0900
+++ b/mercurial/help.py	Sat May 17 21:13:31 2014 +0900
@@ -235,7 +235,7 @@
         rst = []
 
         # check if it's an invalid alias and display its error if it is
-        if getattr(entry[0], 'badalias', False):
+        if getattr(entry[0], 'badalias', None):
             if not unknowncmd:
                 ui.pushbuffer()
                 entry[0](ui)