Submitter | phabricator |
---|---|
Date | Oct. 17, 2017, 12:40 p.m. |
Message ID | <2684335220807854bde84bd37cdff2e9@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/25097/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/templater.py b/mercurial/templater.py --- a/mercurial/templater.py +++ b/mercurial/templater.py @@ -427,7 +427,7 @@ sym = findsymbolicname(arg) if sym: msg = (_("template filter '%s' is not compatible with keyword '%s'") - % (filt.__name__, sym)) + % (filt.__name__.encode('ascii'), sym)) else: msg = _("incompatible use of template filter '%s'") % filt.__name__ raise error.Abort(msg)