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
F15464311: D21052.id50153.diff
Wed, Apr 2, 8:19 AM
F15420525: D21052.id.diff
Fri, Mar 21, 2:38 PM
F15415930: D21052.id50153.diff
Thu, Mar 20, 8:29 AM
F15403972: D21052.id50155.diff
Tue, Mar 18, 5:44 AM
F15395041: D21052.id50155.diff
Sun, Mar 16, 2:58 AM
F15394708: D21052.diff
Sun, Mar 16, 12:19 AM
F15393005: D21052.id.diff
Sat, Mar 15, 6:52 PM
F15392858: D21052.id50153.diff
Sat, Mar 15, 6:01 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.