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)
Mon, Nov 18, 7:57 PM
Unknown Object (File)
Sun, Nov 10, 8:08 AM
Unknown Object (File)
Sun, Nov 3, 6:07 AM
Unknown Object (File)
Tue, Oct 29, 11:13 AM
Unknown Object (File)
Sun, Oct 27, 7:41 AM
Unknown Object (File)
Sat, Oct 26, 10:07 PM
Unknown Object (File)
Oct 21 2024, 2:46 PM
Unknown Object (File)
Sep 5 2024, 5:28 AM
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.