util: adjust indent level in wrap()
authorYuya Nishihara <yuya@tcha.org>
Thu, 22 Mar 2018 21:14:12 +0900
changeset 37080 bad90b80b315
parent 37079 736024df4498
child 37081 191cba70fe27
util: adjust indent level in wrap()
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)