Sun, 20 Feb 2022 13:27:08 -0700 tests: simplify Windows and PYTHON3 conditionals
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 20 Feb 2022 13:27:08 -0700] rev 48865
tests: simplify Windows and PYTHON3 conditionals PYTHON3 is always True. So this flow can be reduced. Differential Revision: https://phab.mercurial-scm.org/D12243
Sun, 20 Feb 2022 13:26:15 -0700 tests: delete some not PYTHON3 blocks
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 20 Feb 2022 13:26:15 -0700] rev 48864
tests: delete some not PYTHON3 blocks These can never be used anymore. Differential Revision: https://phab.mercurial-scm.org/D12242
Sun, 20 Feb 2022 13:24:25 -0700 tests: unconditionalize _bytes2sys()
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 20 Feb 2022 13:24:25 -0700] rev 48863
tests: unconditionalize _bytes2sys() As part of requiring Python 3. Differential Revision: https://phab.mercurial-scm.org/D12241
Sun, 20 Feb 2022 13:23:21 -0700 tests: remove Python 3 conditionalizing from variables
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 20 Feb 2022 13:23:21 -0700] rev 48862
tests: remove Python 3 conditionalizing from variables Differential Revision: https://phab.mercurial-scm.org/D12240
Sun, 20 Feb 2022 13:22:12 -0700 tests: always encode session
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 20 Feb 2022 13:22:12 -0700] rev 48861
tests: always encode session Differential Revision: https://phab.mercurial-scm.org/D12239
Sun, 20 Feb 2022 13:21:30 -0700 tests: unconditionalize bchr
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 20 Feb 2022 13:21:30 -0700] rev 48860
tests: unconditionalize bchr We could probably just do bytes([x]) everywhere. But this eliminates use of PYTHON3. Differential Revision: https://phab.mercurial-scm.org/D12238
Sun, 20 Feb 2022 13:20:33 -0700 tests: unconditionalize _unified_diff
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 20 Feb 2022 13:20:33 -0700] rev 48859
tests: unconditionalize _unified_diff Now that we're Python 3 only we can make this logic simpler. Differential Revision: https://phab.mercurial-scm.org/D12237
Sun, 20 Feb 2022 13:19:21 -0700 tests: collapse elif PYTHON3 block
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 20 Feb 2022 13:19:21 -0700] rev 48858
tests: collapse elif PYTHON3 block PYTHON3 is always True now so this logic should be identical as to before. Differential Revision: https://phab.mercurial-scm.org/D12236
Sun, 20 Feb 2022 13:16:44 -0700 tests: collapse some more trivial if PYTHON3 blocks
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 20 Feb 2022 13:16:44 -0700] rev 48857
tests: collapse some more trivial if PYTHON3 blocks This doesn't account for all of the references to PYTHON3. But it accounts for the ones that are more trivial and don't entail logical changes. Differential Revision: https://phab.mercurial-scm.org/D12235
Sun, 20 Feb 2022 11:57:59 -0700 tests: require Python 3.5+ in run-tests.py
Gregory Szorc <gregory.szorc@gmail.com> [Sun, 20 Feb 2022 11:57:59 -0700] rev 48856
tests: require Python 3.5+ in run-tests.py We change the version check logic to hard fail if running on <= 3.5.0. The branch for <3.5 has been deleted. And the >=3.5 branch block has been dedented. Differential Revision: https://phab.mercurial-scm.org/D12234
(0) -30000 -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip