• 
      

    Improve consistency of environment when invoking hg.

    Review Request #15004 — Created April 3, 2026 and updated

    Information

    RBTools
    release-6.x

    Reviewers

    We have a standard env that we pass in when invoking hg, but that
    wasn't passed to all instances of self._execute. This change refactors
    to include that environment inside _execute itself, with optional
    additional overrides.

    Ran unit tests.

    Summary ID
    Improve consistency of environment when invoking hg.
    We have a standard env that we pass in when invoking `hg`, but that wasn't passed to all instances of `self._execute`. This change refactors to include that environment inside `_execute` itself, with optional additional overrides. Testing Done: Ran unit tests.
    vnpsxyonvpzzukpkyxplstrqtpmrwyww
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.