help: try topics before commands to avoid "diffs" showing help for diffstat
authorGeorg Brandl <georg@python.org>
Mon, 01 Dec 2008 13:44:34 +0100
changeset 7449 f848d7f96195
parent 7448 7900d240c3d8
child 7450 79d1bb737c16
help: try topics before commands to avoid "diffs" showing help for diffstat
mercurial/commands.py
--- a/mercurial/commands.py	Mon Dec 01 12:11:28 2008 +0100
+++ b/mercurial/commands.py	Mon Dec 01 13:44:34 2008 +0100
@@ -1428,7 +1428,7 @@
 
     if name and name != 'shortlist':
         i = None
-        for f in (helpcmd, helptopic, helpext):
+        for f in (helptopic, helpcmd, helpext):
             try:
                 f(name)
                 i = None