]> khamidou — GitHub mirrors - arcanist.git/commit
Fix "HGPLAIN" environmental variable in Windows
authorepriestley <git@epriestley.com>
Wed, 2 May 2012 19:40:02 +0000 (12:40 -0700)
committerepriestley <git@epriestley.com>
Wed, 2 May 2012 19:40:02 +0000 (12:40 -0700)
commit52e08cc6c59155c5b012350c1d465bbc93bebfe9
treeeea49ed1bd1c8e4d17c2a18c5e02000198ba6d39
parent9a718f210acb74a87ee31ba7a32feb3110658a57
Fix "HGPLAIN" environmental variable in Windows

Summary: In Windows, you can't use `X=y cmd` syntax to set variables. Use "set X=y & cmd" instead.

Test Plan:
  - Ran "arc diff" in a Mercurial repo in Windows, created D2367.
  - Verified this does //not// cause 'HGPLAIN' to be set in the outer shell (where you type "arc diff").

Reviewers: Makinde, tido, indiefan, btrahan

Reviewed By: tido

CC: aran
Maniphest Tasks: T1179

Differential Revision: https://secure.phabricator.com/D2368
src/repository/api/mercurial/ArcanistMercurialAPI.php