Mercurial > hgrepos > DevTools > mercurial-extensions
changeset 64:9250db8a629a
Make the $Author$ keyword always utf-8 in the output
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Sun, 26 Nov 2017 15:08:05 +0100 |
| parents | 53be6ab6fea9 |
| children | bdb549d71148 |
| files | extensions/kwarchive.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/kwarchive.py Sat Nov 25 18:45:20 2017 +0100 +++ b/extensions/kwarchive.py Sun Nov 26 15:08:05 2017 +0100 @@ -323,7 +323,7 @@ "HGpath": path_uri, "HGrevision": ctx.hex(), "Revision": templatefilters.short(ctx.hex()), - "Author": templatefilters.person(ctx.user()).replace(' ', '+'), + "Author": templatefilters.utf8(templatefilters.person(ctx.user()).replace(' ', '+')), "Date": templatefilters.isodatesec(ctx.date()), } return keywords
