diff mercurial/hgweb/webcommands.py @ 17146:6b40cc67ceb4

hgweb: show help with verbose sections included This makes sure we see the same help info as with 'hg help <command> --verbose' on the command line, that is, with verbose sections included.
author Adrian Buehlmann <adrian@cadifra.com>
date Tue, 10 Jul 2012 17:52:43 +0200
parents d490edc71146
children 1ae119269ddc
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Thu Jul 12 10:41:56 2012 +0200
+++ b/mercurial/hgweb/webcommands.py	Tue Jul 10 17:52:43 2012 +0200
@@ -902,6 +902,7 @@
 
     u = webutil.wsgiui()
     u.pushbuffer()
+    u.verbose = True
     try:
         commands.help_(u, topicname)
     except error.UnknownCommand: