This is an archive of the discontinued Mercurial Phabricator instance.

hgweb: remove Python 3 conditional
ClosedPublic

Authored by indygreg on Mar 2 2022, 6:31 PM.

Details

Summary

We probably have a better tobytes() implementation somewhere in pycompat.
But I don't want to bloat scope of this commit.

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

indygreg created this revision.Mar 2 2022, 6:31 PM
Alphare requested changes to this revision.Mar 3 2022, 5:39 AM
Alphare added a subscriber: Alphare.
Alphare added inline comments.
mercurial/hgweb/request.py
162–163

Maybe remove the Python 2 mention here since it's not useful anymore?

This revision now requires changes to proceed.Mar 3 2022, 5:39 AM
indygreg updated this revision to Diff 32470.Mar 3 2022, 11:09 AM
Alphare accepted this revision.Mar 3 2022, 11:19 AM
This revision is now accepted and ready to land.Mar 3 2022, 11:19 AM
This revision was automatically updated to reflect the committed changes.