changeset 38359 | 876352ea831e |
parent 37843 | 670eb4fa1b86 |
child 38383 | 23dc901cdf13 |
--- a/hgext/highlight/highlight.py Thu May 03 12:04:36 2018 +0900 +++ b/hgext/highlight/highlight.py Sun Jun 17 23:00:08 2018 -0400 @@ -89,7 +89,7 @@ coloriter = (s.encode(encoding.encoding, 'replace') for s in colorized.splitlines()) - tmpl.filters['colorize'] = lambda x: next(coloriter) + tmpl._filters['colorize'] = lambda x: next(coloriter) oldl = tmpl.cache[field] newl = oldl.replace('line|escape', 'line|colorize')