Mercurial > public > mercurial-scm > hg
comparison mercurial/templater.py @ 28837:d54a7410307f
templater: drop deprecated handling of KeyError from changeset_templater
It's been superseded by 09cde75e0613 and the previous patch. templater.mapfile
is no longer used and removed.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 03 Apr 2016 11:23:31 +0900 |
parents | 6b86ce3e3576 |
children | 35da19348143 |
comparison
equal
deleted
inserted
replaced
28836:3f45488d70df | 28837:d54a7410307f |
---|---|
954 filters = {} | 954 filters = {} |
955 if defaults is None: | 955 if defaults is None: |
956 defaults = {} | 956 defaults = {} |
957 if cache is None: | 957 if cache is None: |
958 cache = {} | 958 cache = {} |
959 self.mapfile = mapfile or 'template' | |
960 self.cache = cache.copy() | 959 self.cache = cache.copy() |
961 self.map = {} | 960 self.map = {} |
962 if mapfile: | 961 if mapfile: |
963 self.base = os.path.dirname(mapfile) | 962 self.base = os.path.dirname(mapfile) |
964 else: | 963 else: |