changeset 1975 | 6e1a8ea5d717 |
parent 1964 | 778281d46bb2 |
child 1987 | 04c17fc39c84 |
--- a/mercurial/templater.py Sat Mar 18 14:36:45 2006 +0100 +++ b/mercurial/templater.py Sat Mar 18 09:51:25 2006 -0800 @@ -65,7 +65,7 @@ filters is dict of functions. each transforms a value into another. defaults is dict of default map definitions.''' self.mapfile = mapfile or 'template' - self.cache = cache + self.cache = cache.copy() self.map = {} self.base = (mapfile and os.path.dirname(mapfile)) or '' self.filters = filters