Page MenuHomePhabricator

Update some ancient "set X=Y" environment code for new Windows execution without a shell
ClosedPublic

Authored by epriestley on Apr 2 2020, 8:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 17, 2:48 PM
Unknown Object (File)
Apr 29 2025, 9:22 AM
Unknown Object (File)
Apr 26 2025, 4:12 AM
Unknown Object (File)
Apr 24 2025, 5:27 PM
Unknown Object (File)
Apr 20 2025, 12:16 AM
Unknown Object (File)
Apr 17 2025, 5:12 PM
Unknown Object (File)
Apr 16 2025, 10:04 PM
Unknown Object (File)
Apr 11 2025, 2:04 PM
Subscribers
None

Details

Summary

Depends on D21051. Ref T13504. Ref T13209. This very old Mercurial code uses "X=Y hg ..." on Linux and "set X=Y & hg ..." on Windows.

The latter construct no longer works because we bypass the shell. The former construct is obsolete.

Additionaly, delete some ancient "branch merge" code which has no callers.

Test Plan

Created a diff in a Mercurial repository on Linux. I minimally vetted this on Windows since I don't have a "hg + Windows" environment at the moment.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Apr 2 2020, 8:51 PM
This revision was automatically updated to reflect the committed changes.