# HG changeset patch # User mpm@selenic.com # Date 1124649999 25200 # Node ID 4a988dc8d9b89aa9299a1bcf5d17080a4a2df580 # Parent 8d2e24bae7609205efc1788c7cb26f82d4c4e7db Fix RSS feeds diff --git a/mercurial/hgweb.py b/mercurial/hgweb.py --- a/mercurial/hgweb.py +++ b/mercurial/hgweb.py @@ -628,8 +628,9 @@ class hgweb: m = os.path.join(t, "map") if args.has_key('style'): b = os.path.basename("map-" + args['style'][0]) - p = os.path.join(self.templates, b) + p = os.path.join(t, b) if os.path.isfile(p): m = p + print m port = os.environ["SERVER_PORT"] port = port != "80" and (":" + port) or ""