Comparing None with integers was fine in Python 2 but returns error in Python 3
which is nice. This patch replaces None with -1 where sorting is done and some
related logic.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGa7de62adcf03: py3: workaround comparing NoneType and integers
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.