diff -r 01b856927970 -r d0db3462d568 mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Tue Jun 27 00:09:31 2006 -0700 +++ b/mercurial/hgweb/hgwebdir_mod.py Tue Jun 27 00:09:33 2006 -0700 @@ -11,7 +11,6 @@ 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 _ @@ -47,7 +46,7 @@ self.repos.append((name.lstrip(os.sep), repo)) self.repos.sort() - def run(self, req=hgrequest()): + def run(self, req): def header(**map): yield tmpl("header", **map)