Submitter | phabricator |
---|---|
Date | March 2, 2018, 8:26 p.m. |
Message ID | <c2bbcecef7fe940baaa59ada4f53e1d4@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/28722/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -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)