re.map doesn't seem to know about bytearray (at least in Python 2).
Cast bytearray to a bytes to work around this inconvenience.
Details
Details
- Reviewers
durin42 - Group Reviewers
hg-reviewers - Commits
- rHGc98d1c6763a6: util: teach escapedata() about bytearray
Diff Detail
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.