Read about our upcoming Code of Conduct on this issue

Commit 00a36898 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

windows: use raw string in test log paths

Otherwise the backslashes will work as escapes on Windows and break everything.

Differential Revision: https://phab.mercurial-scm.org/D11725
parent aad84024660f
Pipeline #28429 failed with stages
in 55 minutes and 22 seconds
......@@ -1785,7 +1785,7 @@ fixed.
$ cat >> $LOGGER <<EOF
> # Appends the input file's name to the log file.
> import sys
> with open('$LOGFILE', 'a') as f:
> with open(r'$LOGFILE', 'a') as f:
> f.write(sys.argv[1] + '\n')
> sys.stdout.write(sys.stdin.read())
> EOF
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment