This is an archive of the discontinued Mercurial Phabricator instance.

hghave: fix the definition of `python3` to work on Windows
ClosedPublic

Authored by mharbison72 on May 7 2021, 12:01 AM.

Details

Summary

Both py2 and py3 executables are named python.exe, and may or may not be on
PATH. So use the dispatcher executable that comes with py3 to fetch the version
of the latest py3 executable. This allows at least one relnotes test to run on
Windows.

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

mharbison72 created this revision.May 7 2021, 12:01 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.