# HG changeset patch # User Augie Fackler # Date 2017-05-28 17:42:16 # Node ID 3b8155305fbee24221bf1739fb9076703e50f86b # Parent 37863db504145ddac59b18a387b8cb02b61f3216 util: use sysstr.join instead of bytes.join in textwrap wrapper diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -2338,7 +2338,7 @@ def MBTextWrapper(**kwargs): # Convert current line back to a string and store it in list # of all lines (return value). if cur_line: - lines.append(indent + ''.join(cur_line)) + lines.append(indent + r''.join(cur_line)) return lines