mercurial/hgweb/webcommands.py
changeset 18747 f5db3092790f
parent 18645 76ff3a715cf2
child 18771 bb38f4f78104
--- a/mercurial/hgweb/webcommands.py	Sat Feb 09 21:51:21 2013 +0000
+++ b/mercurial/hgweb/webcommands.py	Sat Feb 09 21:51:21 2013 +0000
@@ -993,11 +993,9 @@
                     othercommands=othercommands, title='Index')
 
     u = webutil.wsgiui()
-    u.pushbuffer()
     u.verbose = True
     try:
-        commands.help_(u, topicname)
+        doc = helpmod.help_(u, topicname)
     except error.UnknownCommand:
         raise ErrorResponse(HTTP_NOT_FOUND)
-    doc = u.popbuffer()
     return tmpl('help', topic=topicname, doc=doc)