# HG changeset patch # User Yuya Nishihara # Date 2018-10-16 06:20:03 # Node ID 558114fa7bc1749ee5493e01abc5f44b2c60c301 # Parent afbfcc4e34739f6c5464986e65b23641e87ed0c1 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)