( )⚙ D6111 py3: use r'' for group name arguments to MatchObjects in phabricator.py

This is an archive of the discontinued Mercurial Phabricator instance.

py3: use r'' for group name arguments to MatchObjects in phabricator.py
ClosedPublic

Authored by Kwan on Mar 8 2019, 10:01 PM.

Details

Summary

MatchObject group names are strings, not bytes. Using bytes in py3 leads to an
IndexError.

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

Kwan created this revision.Mar 8 2019, 10:01 PM
This revision was automatically updated to reflect the committed changes.