1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-26 00:32:41 +01:00

Escape ^ on command line (significant on Windows)

This commit is contained in:
Jakub Vrana 2013-04-05 23:17:40 -07:00
parent 576c47aaa1
commit c77ec2bdc6

View file

@ -323,9 +323,9 @@ EOTEXT
if ($repository_api instanceof ArcanistGitAPI) { if ($repository_api instanceof ArcanistGitAPI) {
list($out) = $repository_api->execxLocal( list($out) = $repository_api->execxLocal(
'log --oneline %s ^%s', 'log --oneline %s %s',
$this->branch, $this->branch,
$this->onto); '^'.$this->onto);
} else if ($repository_api instanceof ArcanistMercurialAPI) { } else if ($repository_api instanceof ArcanistMercurialAPI) {
$common_ancestor = $repository_api->getCanonicalRevisionName( $common_ancestor = $repository_api->getCanonicalRevisionName(
hgsprintf('ancestor(%s,%s)', hgsprintf('ancestor(%s,%s)',