Stops us from choking the templater on Python 3. With this patch
applied, much of hgweb works correctly in Python 3. The notable
exception is the graph page, which chokes because it gets node IDs as
str instead of bytes.
Details
Details
- Reviewers
pulkit ryanmce - Group Reviewers
hg-reviewers - Commits
- rHG3caec3c032c8: webutil: use pycompat.bytestr() instead of str()
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/hgweb/webutil.py | ||
---|---|---|
593–597 | Buhhhhh, this looks ugly as sin. Can we drop 'name' to the next line please? (I can do that in-flight, actually) |
Buhhhhh, this looks ugly as sin. Can we drop 'name' to the next line please? (I can do that in-flight, actually)