This is an archive of the discontinued Mercurial Phabricator instance.

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

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

Details

Reviewers
None
Group Reviewers
hg-reviewers
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
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durin42 created this revision.Jun 26 2018, 11:21 AM
durin42 abandoned this revision.Jun 26 2018, 11:22 AM