1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-25 16:22:42 +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) {
list($out) = $repository_api->execxLocal(
'log --oneline %s ^%s',
'log --oneline %s %s',
$this->branch,
$this->onto);
'^'.$this->onto);
} else if ($repository_api instanceof ArcanistMercurialAPI) {
$common_ancestor = $repository_api->getCanonicalRevisionName(
hgsprintf('ancestor(%s,%s)',