mercurial/hgweb/webcommands.py
changeset 12696 ef969e58a394
parent 12692 0ac7c5c8121a
child 13199 a38df1250945
equal deleted inserted replaced
12695:05077896ffe2 12696:ef969e58a394
   771                 yield {'topic': c, 'summary': doc}
   771                 yield {'topic': c, 'summary': doc}
   772 
   772 
   773         return tmpl('helptopics', topics=topics, earlycommands=earlycommands,
   773         return tmpl('helptopics', topics=topics, earlycommands=earlycommands,
   774                     othercommands=othercommands, title='Index')
   774                     othercommands=othercommands, title='Index')
   775 
   775 
   776     u = web.repo.ui
   776     u = webutil.wsgiui()
   777     u.pushbuffer()
   777     u.pushbuffer()
   778     try:
   778     try:
   779         commands.help_(u, topicname)
   779         commands.help_(u, topicname)
   780     except error.UnknownCommand:
   780     except error.UnknownCommand:
   781         raise ErrorResponse(HTTP_NOT_FOUND)
   781         raise ErrorResponse(HTTP_NOT_FOUND)