Mercurial > hg
diff hgext/convert/subversion.py @ 36835:5bc7ff103081
py3: use r'' instead of sysstr('') to get around code transformer
Fewer function calls should be better.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 10 Mar 2018 15:57:16 +0900 |
parents | 9e2866065982 |
children | f0b6fbea00cf |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Sat Mar 10 15:50:09 2018 +0900 +++ b/hgext/convert/subversion.py Sat Mar 10 15:57:16 2018 +0900 @@ -1310,7 +1310,7 @@ self.setexec = [] fd, messagefile = tempfile.mkstemp(prefix='hg-convert-') - fp = os.fdopen(fd, pycompat.sysstr('wb')) + fp = os.fdopen(fd, r'wb') fp.write(util.tonativeeol(commit.desc)) fp.close() try: