diff --git a/src/repository/api/ArcanistMercurialAPI.php b/src/repository/api/ArcanistMercurialAPI.php index b77d2254..db23b94d 100644 --- a/src/repository/api/ArcanistMercurialAPI.php +++ b/src/repository/api/ArcanistMercurialAPI.php @@ -266,7 +266,8 @@ final class ArcanistMercurialAPI extends ArcanistRepositoryAPI { // We didn't get a cheap hit on previous commit, so do the full-cost // "hg parents" call. We can run these in parallel, at least. $futures[$node] = $this->execFutureLocal( - "parents --template='{node}\\n' --rev %s", + 'parents --template %s --rev %s', + '{node}\n', $node); }