Mercurial > hg > mercurial-source
diff mercurial/commandserver.py @ 41145:558114fa7bc1
py3: system-stringify file mode in commandserver.py
# skip-blame just r'' prefixes
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 16 Oct 2018 08:20:03 +0200 (2018-10-16) |
parents | afbfcc4e3473 |
children | b7de186efd82 |
line wrap: on
line diff
--- a/mercurial/commandserver.py +++ b/mercurial/commandserver.py @@ -344,8 +344,8 @@ random.seed() def _serverequest(ui, repo, conn, createcmdserver): - fin = conn.makefile('rb') - fout = conn.makefile('wb') + fin = conn.makefile(r'rb') + fout = conn.makefile(r'wb') sv = None try: sv = createcmdserver(repo, conn, fin, fout)