author | Yuya Nishihara <yuya@tcha.org> |
Sat, 17 Mar 2018 20:13:06 +0900 | |
changeset 37159 | b56b79185aad |
parent 37158 | e09d2183e226 |
child 37160 | 53e6b7e05553 |
--- a/mercurial/templater.py Sat Mar 17 20:04:20 2018 +0900 +++ b/mercurial/templater.py Sat Mar 17 20:13:06 2018 +0900 @@ -815,7 +815,7 @@ def render(self, t, mapping): """Render the specified named template and return result as string""" - return templateutil.stringify(self.generate(t, mapping)) + return b''.join(self.generate(t, mapping)) def generate(self, t, mapping): """Return a generator that renders the specified named template and