# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1539670803 -7200 # Tue Oct 16 08:20:03 2018 +0200 # Node ID 9235215b40cf586e1a4af768380de580fe01edf0 # Parent 1bafbc9bc7b33101f19bd69350a8530289958468 py3: system-stringify file mode in commandserver.py
# skip-blame just r'' prefixes diff --git a/mercurial/commandserver.py b/mercurial/commandserver.py --- a/mercurial/commandserver.py +++ b/mercurial/commandserver.py @@ -344,8 +344,8 @@ def _initworkerprocess(): 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) _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel