Mercurial > hg
changeset 12692:0ac7c5c8121a
hgweb: more ui fiddling
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 10 Oct 2010 11:05:06 -0500 |
parents | 1b1a9038a71a |
children | 33f0682ba8b1 |
files | mercurial/hgweb/webcommands.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Sun Oct 10 10:42:44 2010 -0500 +++ b/mercurial/hgweb/webcommands.py Sun Oct 10 11:05:06 2010 -0500 @@ -14,7 +14,6 @@ from common import HTTP_OK, HTTP_FORBIDDEN, HTTP_NOT_FOUND from mercurial import graphmod from mercurial import help as helpmod -from mercurial import ui from mercurial.i18n import _ # __all__ is populated with the allowed commands. Be sure to add to it if @@ -774,7 +773,7 @@ return tmpl('helptopics', topics=topics, earlycommands=earlycommands, othercommands=othercommands, title='Index') - u = ui.ui() + u = web.repo.ui u.pushbuffer() try: commands.help_(u, topicname)