]> khamidou — GitHub mirrors - arcanist.git/commit
Fix arc land for mercurial on windows
authordurham <durham@fb.com>
Thu, 15 Aug 2013 01:00:51 +0000 (18:00 -0700)
committerdurham <durham@fb.com>
Thu, 15 Aug 2013 01:00:51 +0000 (18:00 -0700)
commit8465c4dd53cb352eb55a21c0fd9dbb385f8d5b56
tree10e59b53fe100872b2e45605fd0604a234b72118
parentacb90fd9e7753e54aad8d8d70d95eb391560d388
Fix arc land for mercurial on windows

Summary:
arc for mercurial on windows was broken in several way.
Executing a command via passthru failed because passthru on windows
skips the shell so 'set HGPLAIN=1 & ...' was an invalid command. The
fix was to just not set HGPLAIN for passthru commands on windows.

Also removed hardcoded '' quotes in mercurial commands since windows
doesn't support single quots.

Test Plan: arc land --hold on a windows machine

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, aran
Differential Revision: https://secure.phabricator.com/D6763
src/repository/api/ArcanistMercurialAPI.php
src/workflow/ArcanistLandWorkflow.php