diff -r c0087d48ec3a -r f5db3092790f mercurial/hgweb/webcommands.py --- 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)