Mercurial > hg
comparison mercurial/rewriteutil.py @ 41534:47c92f8ed128
patch: properly escape \ in string literals
Python 3.8 will emit a SyntaxWarning for str/bytes with invalid
escapes. This commit addresses 4 occurrences where we had a bare
\ in a str/bytes.
Differential Revision: https://phab.mercurial-scm.org/D5818
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 04 Feb 2019 08:59:11 -0800 |
parents | 8c6329fa6038 |
children | 57875cf423c9 |
comparison
equal
deleted
inserted
replaced
41533:0f64091cc851 | 41534:47c92f8ed128 |
---|