# HG changeset patch # User TK Soh # Date 1149171267 18000 # Node ID 25ec4981883e5ec16e42cec535447ade8a431480 # Parent a392eaa81f29d790f11bb5bb94ee18f89927a9e2 hgweb: fix tracebacks on both index and repo pages diff --git a/mercurial/hgweb/hgwebdir_mod.py b/mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py +++ b/mercurial/hgweb/hgwebdir_mod.py @@ -10,7 +10,9 @@ import os from mercurial.demandload import demandload demandload(globals(), "ConfigParser") demandload(globals(), "mercurial:ui,hg,util,templater") +demandload(globals(), "mercurial.hgweb.hgweb_mod:hgweb") demandload(globals(), "mercurial.hgweb.request:hgrequest") +demandload(globals(), "mercurial.hgweb.common:get_mtime,staticfile") from mercurial.i18n import gettext as _ # This is a stopgap