author | Shun-ichi Goto <shunichi.goto@gmail.com> |
Sat, 18 Mar 2006 09:51:25 -0800 | |
changeset 1975 | 6e1a8ea5d717 |
parent 1974 | 0d54675cd566 |
child 1976 | df8416346bb7 |
--- a/mercurial/templater.py +++ b/mercurial/templater.py @@ -65,7 +65,7 @@ class templater(object): 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