Improve consistency of environment when invoking hg.
Review Request #15004 — Created April 3, 2026 and updated — Latest diff uploaded
We have a standard env that we pass in when invoking
hg, but that
wasn't passed to all instances ofself._execute. This change refactors
to include that environment inside_executeitself, with optional
additional overrides.
Ran unit tests.