[PATCH 1 of 1] help: try topics before commands to avoid "diffs" showing help for diffstat
Georg Brandl
georg at python.org
Fri Nov 28 05:49:26 CST 2008
# HG changeset patch
# User Georg Brandl <georg at 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
More information about the Mercurial-devel
mailing list