( )⚙ D5818 patch: properly escape \ in string literals

This is an archive of the discontinued Mercurial Phabricator instance.

patch: properly escape \ in string literals
ClosedPublic

Authored by indygreg on Feb 4 2019, 12:18 PM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Feb 4 2019, 12:18 PM
This revision was automatically updated to reflect the committed changes.