mercurial/debugcommands.py
changeset 36586 ff6b8484400b
parent 36578 149fd142f498
child 36587 dfcf589a4031
--- a/mercurial/debugcommands.py	Fri Mar 02 14:09:50 2018 -0500
+++ b/mercurial/debugcommands.py	Fri Mar 02 14:10:34 2018 -0500
@@ -2257,7 +2257,7 @@
 
     if opts['logiofd']:
         # Line buffered because output is line based.
-        logfh = os.fdopen(int(opts['logiofd']), 'ab', 1)
+        logfh = os.fdopen(int(opts['logiofd']), r'ab', 1)
     elif opts['logiofile']:
         logfh = open(opts['logiofile'], 'ab', 1)