Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG5046c906b25d: py3: convert the report to bytes
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
- a/mercurial/dispatch.py
+++ b/mercurial/dispatch.py
@@ -1028,7 +1028,7 @@'** which supports versions %s of Mercurial.\n' '** Please disable %s and try your action again.\n' '** If that fixes the bug please report it to %s\n')
- % (name, testedwith, name, report))
+ % (name, testedwith, name, pycompat.bytestr(report)))
Maybe stringutil.forcebytestr()?
The report must be bytes, but a broken extension might provide a unicode
for example, and a unicode can't always be byte-ified with bytestr().