changeset 7449:f848d7f96195

help: try topics before commands to avoid "diffs" showing help for diffstat
author Georg Brandl <georg@python.org>
date Mon, 01 Dec 2008 13:44:34 +0100
parents 7900d240c3d8
children 79d1bb737c16
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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