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
F13330818: D21052.diff
Mon, Jun 17, 4:35 AM
F13318154: D21052.diff
Thu, Jun 13, 10:19 AM
F13304159: D21052.diff
Sat, Jun 8, 8:38 AM
F13286737: D21052.diff
Tue, Jun 4, 7:38 AM
F13273686: D21052.diff
Fri, May 31, 2:24 AM
F13265975: D21052.id50153.diff
Tue, May 28, 7:43 AM
F13234359: D21052.diff
Tue, May 21, 3:20 AM
F13232991: D21052.id50155.diff
Tue, May 21, 1:37 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
Branch
windows3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23972
Build 32990: Run Core Tests
Build 32989: arc lint + arc unit

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.