Mercurial > hg
diff hgext/convert/gnuarch.py @ 43384:1edf620a37a3 stable
py3: encode strings before setting rev summary in gnuarch converter
author | Denis Laxalde <denis@laxalde.org> |
---|---|
date | Mon, 04 Nov 2019 10:09:08 +0100 |
parents | 0f890ce15888 |
children | 9f70512ae2cf |
line wrap: on
line diff
--- a/hgext/convert/gnuarch.py Mon Nov 04 09:56:10 2019 +0100 +++ b/hgext/convert/gnuarch.py Mon Nov 04 10:09:08 2019 +0100 @@ -310,7 +310,10 @@ # Commit description self.changes[rev].summary = b'\n\n'.join( - (catlog[r'Summary'], catlog.get_payload()) + ( + self.recode(catlog[r'Summary']), + self.recode(catlog.get_payload()), + ) ) self.changes[rev].summary = self.recode(self.changes[rev].summary)