This resolves a lot of weird issues in Python 3 around error strings.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGaf0a19d8812b: py3: get bytes-repr of network errors portably
rHGc57892ccbb41: py3: get bytes-repr of network errors portably
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
Comment Actions
For converting error messages to bytes, util.forcebytestr() is preferred. https://phab.mercurial-scm.org/D2269#inline-5791
mercurial/hgweb/request.py | ||
---|---|---|
125 | This one looks like an unrelated change. |
This one looks like an unrelated change.