This is an archive of the discontinued Mercurial Phabricator instance.

setup: fix mistake that prevented Python 3 from being excluded
ClosedPublic

Authored by durin42 on Jul 26 2017, 1:33 PM.

Details

Summary

My intent was to only allow Python 3 if the right environment variable
is set (for when people want to use pip install . on hg
locally). This fixes the bug in my previous change. I verified that
python3.6 run-tests.py still passes the tests that passed before,
and that all tests pass on 2.7 (including our virtualenv-using
installation test).

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

durin42 created this revision.Jul 26 2017, 1:33 PM
martinvonz accepted this revision.Jul 26 2017, 4:41 PM
This revision is now accepted and ready to land.Jul 26 2017, 4:41 PM
This revision was automatically updated to reflect the committed changes.