Summary: We manually quote this in a couple of places. That works fine on Lunix, but does not work on Windows. Instead, explicitly parameterize the command so the correct quoting rules are applied for the OS.
Test Plan: See IRC; windows user had issues fixed by this. `arc:upstream` still works locally.
Reviewers: btrahan, chad
Reviewed By: chad
Subscribers: epriestley
Differential Revision: https://secure.phabricator.com/D9868
if (!$default_relative) {
list($err, $upstream) = $this->execManualLocal(
- "rev-parse --abbrev-ref --symbolic-full-name '@{upstream}'");
+ 'rev-parse --abbrev-ref --symbolic-full-name %s',
+ '@{upstream}');
if (!$err) {
$default_relative = trim($upstream);
break;
case 'upstream':
list($err, $upstream) = $this->execManualLocal(
- "rev-parse --abbrev-ref --symbolic-full-name '@{upstream}'");
+ 'rev-parse --abbrev-ref --symbolic-full-name %s',
+ '@{upstream}');
if (!$err) {
$upstream = rtrim($upstream);
list($upstream_merge_base) = $this->execxLocal(