Mercurial > hg
comparison hgext/convert/subversion.py @ 30260:21f977dbfaec
convert: remove superfluous setbinary() calls from debugsvnlog
a3fe91b4f6eb made standard streams set to binary mode globally.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 03 Oct 2015 14:29:13 +0900 |
parents | 72f75eda02ba |
children | 6bed17ba00a1 |
comparison
equal
deleted
inserted
replaced
30259:d06c049695e6 | 30260:21f977dbfaec |
---|---|
162 """ | 162 """ |
163 if svn is None: | 163 if svn is None: |
164 raise error.Abort(_('debugsvnlog could not load Subversion python ' | 164 raise error.Abort(_('debugsvnlog could not load Subversion python ' |
165 'bindings')) | 165 'bindings')) |
166 | 166 |
167 util.setbinary(sys.stdin) | |
168 util.setbinary(sys.stdout) | |
169 args = decodeargs(sys.stdin.read()) | 167 args = decodeargs(sys.stdin.read()) |
170 get_log_child(sys.stdout, *args) | 168 get_log_child(sys.stdout, *args) |
171 | 169 |
172 class logstream(object): | 170 class logstream(object): |
173 """Interruptible revision log iterator.""" | 171 """Interruptible revision log iterator.""" |