diff -r 39eb64b23cb5 -r 778281d46bb2 mercurial/hgweb.py --- a/mercurial/hgweb.py Wed Mar 15 11:26:57 2006 +0100 +++ b/mercurial/hgweb.py Wed Mar 15 11:28:00 2006 -0800 @@ -797,11 +797,11 @@ or uri.strip('/') or self.repo.root) self.t = templater.templater(m, templater.common_filters, - {"url": url, - "repo": self.reponame, - "header": header, - "footer": footer, - }) + defaults={"url": url, + "repo": self.reponame, + "header": header, + "footer": footer, + }) if not req.form.has_key('cmd'): req.form['cmd'] = [self.t.cache['default'],] @@ -1030,7 +1030,8 @@ m = os.path.join(templater.templatepath(), "map") tmpl = templater.templater(m, templater.common_filters, - {"header": header, "footer": footer}) + defaults={"header": header, + "footer": footer}) def entries(**map): parity = 0