This is an archive of the discontinued Mercurial Phabricator instance.

configitems: use raw strings for hidden-{command,topic} items
ClosedPublic

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

Details

Summary

These strings are regular expressions. The "\." needs to be
string escaped. We use raw strings to avoid doing that and the
SyntaxWarning we'd receive otherwise on Python 3.8.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

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