-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hgext/*-format: run
mach
through python
and add more Python varia…
…nts (Bug 1755535) r=mhentges Updates `find_python` to check for three different Python variants, `py`, `python3` and `python` using `which` and executing `mach` via whichever is found first. Fall back to `python` if the other variants can't be found. Previous tests of these extensions assumed `mach` was runnable as a shell script and checked a mock-`mach` script into the test repository. Re-write this script to a Python script to conform to real-`mach`. Changing the script checked into the initial commit in the test repository means all commit hashes will change, so update them accordingly. Differential Revision: https://phabricator.services.mozilla.com/D138846 --HG-- extra : moz-landing-system : lando
- Loading branch information
Showing
4 changed files
with
72 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters