diff -r 75d9fe70c654 -r 9f1e6ab76069 mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py Thu Jan 31 14:44:19 2008 -0600 +++ b/mercurial/hgweb/hgweb_mod.py Thu Jan 31 14:44:19 2008 -0600 @@ -9,7 +9,7 @@ import os, mimetypes, re from mercurial.node import * from mercurial import mdiff, ui, hg, util, archival, patch, hook -from mercurial import revlog, templater +from mercurial import revlog, templater, templatefilters from common import ErrorResponse, get_mtime, style_map, paritygen, get_contact from request import wsgirequest import webcommands, protocol @@ -288,7 +288,7 @@ # create the templater - tmpl = templater.templater(mapfile, templater.common_filters, + tmpl = templater.templater(mapfile, templatefilters.filters, defaults={"url": req.url, "staticurl": staticurl, "urlbase": urlbase,