Before this patch, str() function for mq.patchheader class return bytes
which is not str on Python 3. So let's move that logic to bytes() and for
str() convert the return value of bytes() to str.
Details
Details
- Reviewers
yuja - Group Reviewers
hg-reviewers - Commits
- rHGd41e41d11574: py3: add __bytes__() for mq.patchheader and make sure __str__ returns str
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped