[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mercurial-devel
Subject:    [PATCH 1 of 1] help: try topics before commands to avoid "diffs"
From:       Georg Brandl <georg () python ! org>
Date:       2008-11-28 11:49:26
Message-ID: d93fa2c1c86201a70655.1227872966 () r106120 ! ga1 ! swh ! mhn ! de
[Download RAW message or body]

# HG changeset patch
# User Georg Brandl <georg@python.org>
# Date 1227872925 -3600
# Node ID d93fa2c1c86201a70655af22dafa6d2a0313f852
# Parent  8ad2b31be9a1a64ef65d44539cbe35f191afecaf
help: try topics before commands to avoid "diffs" showing help for diffstat

diff -r 8ad2b31be9a1 -r d93fa2c1c862 mercurial/commands.py
--- a/mercurial/commands.py	Wed Nov 26 22:58:07 2008 +0100
+++ b/mercurial/commands.py	Fri Nov 28 12:48:45 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
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@selenic.com
http://selenic.com/mailman/listinfo/mercurial-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic