changeset 37080:bad90b80b315

util: adjust indent level in wrap()
author Yuya Nishihara <yuya@tcha.org>
date Thu, 22 Mar 2018 21:14:12 +0900
parents 736024df4498
children 191cba70fe27
files mercurial/util.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)