changeset 40359: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
parents afbfcc4e3473
children dee73a97e132
files mercurial/commandserver.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commandserver.py	Tue Oct 16 07:57:40 2018 +0200
+++ b/mercurial/commandserver.py	Tue Oct 16 08:20:03 2018 +0200
@@ -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)