Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/webcommands.py @ 12696:ef969e58a394
hgweb: another fix for the help termwidth bug
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 10 Oct 2010 17:35:28 -0500 |
parents | 0ac7c5c8121a |
children | a38df1250945 |
comparison
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) |