]> khamidou — GitHub mirrors - arcanist.git/commit
Use execxLocal() for ArcanistGitAPI
authorepriestley <git@epriestley.com>
Sat, 3 Mar 2012 00:47:34 +0000 (16:47 -0800)
committerepriestley <git@epriestley.com>
Sat, 3 Mar 2012 00:47:34 +0000 (16:47 -0800)
commit075c4f84d47b5a2a262184ade542ad6038e33b13
treef32734337542a45551712b2a2784b01fd35b6f91
parent77262c0cff226343c812645c6b4b3ef25b220074
Use execxLocal() for ArcanistGitAPI

Summary:
  - This is simpler and reuses more code than doing "(cd %s && ...)" every time.
  - If we have an issue like HGPLAIN, we have one place to fix it now.
  - On Windows, the construct "(cd %s && ...)" does not mean what we'd like it to.

Test Plan: Ran "arc diff" in a git repo with this change.

Reviewers: btrahan, Makinde

Reviewed By: Makinde

CC: aran, epriestley
Maniphest Tasks: T124

Differential Revision: https://secure.phabricator.com/D1761
src/branch/BranchInfo.php
src/repository/api/base/ArcanistRepositoryAPI.php
src/repository/api/git/ArcanistGitAPI.php
src/repository/api/mercurial/ArcanistMercurialAPI.php
src/repository/api/subversion/ArcanistSubversionAPI.php