This is an archive of the discontinued Mercurial Phabricator instance.

cleanup: migrate from re.escape to stringutil.reescape
ClosedPublic

Authored by durin42 on Jun 26 2018, 11:22 AM.

Details

Summary

This has consistent behavior on Python 2.7, 3.6, and 3.7 and has the
benefit of probably being a little faster. Test output changes are
largely because / used to be pointlessly escaped.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Jun 26 2018, 11:22 AM
pulkit accepted this revision.Jun 26 2018, 1:28 PM
This revision was automatically updated to reflect the committed changes.