convert: remove superfluous setbinary() calls from debugsvnlog
authorYuya Nishihara <yuya@tcha.org>
Sat, 03 Oct 2015 14:29:13 +0900
changeset 30260 21f977dbfaec
parent 30259 d06c049695e6
child 30261 6bed17ba00a1
convert: remove superfluous setbinary() calls from debugsvnlog a3fe91b4f6eb made standard streams set to binary mode globally.
hgext/convert/subversion.py
--- a/hgext/convert/subversion.py	Wed Aug 17 08:52:15 2016 -0700
+++ b/hgext/convert/subversion.py	Sat Oct 03 14:29:13 2015 +0900
@@ -164,8 +164,6 @@
         raise error.Abort(_('debugsvnlog could not load Subversion python '
                            'bindings'))
 
-    util.setbinary(sys.stdin)
-    util.setbinary(sys.stdout)
     args = decodeargs(sys.stdin.read())
     get_log_child(sys.stdout, *args)