diff -r 736024df4498 -r bad90b80b315 mercurial/util.py --- a/mercurial/util.py Thu Mar 22 21:13:31 2018 +0900 +++ b/mercurial/util.py Thu Mar 22 21:14:12 2018 +0900 @@ -2883,11 +2883,11 @@ # adjust for weird terminal size width = max(78, maxindent + 1) line = line.decode(pycompat.sysstr(encoding.encoding), - pycompat.sysstr(encoding.encodingmode)) + pycompat.sysstr(encoding.encodingmode)) initindent = initindent.decode(pycompat.sysstr(encoding.encoding), - pycompat.sysstr(encoding.encodingmode)) + pycompat.sysstr(encoding.encodingmode)) hangindent = hangindent.decode(pycompat.sysstr(encoding.encoding), - pycompat.sysstr(encoding.encodingmode)) + pycompat.sysstr(encoding.encodingmode)) wrapper = _MBTextWrapper(width=width, initial_indent=initindent, subsequent_indent=hangindent)