Details
Details
- Reviewers
durin42 yuja - Group Reviewers
hg-reviewers - Commits
- rHGc4fa47f880d3: py3: make sure we return str from __repr__
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.
Event Timeline
mercurial/match.py | ||
---|---|---|
460 | Maybe you know, '%r' % [bytes, ...] is incompatible across python versions, See f0827211eb1f and fc44c2657dc5 for example. |
Maybe you know, '%r' % [bytes, ...] is incompatible across python versions,
so it's probably better to build a repr string in bytes, and convert it
to unicode.
See f0827211eb1f and fc44c2657dc5 for example.