From: epriestley Date: Wed, 21 Mar 2012 18:07:15 +0000 (-0700) Subject: Instead of looping forever, resolve the relative commit X-Git-Tag: conduit-4~84 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=e8accf4b9f4e78107e7dea2f82f8b5ac03eb3d1c;p=arcanist.git Instead of looping forever, resolve the relative commit Summary: Obvious error in refactoring code around getCanonicalRevisionName() in D1954. Test Plan: Ran "arc diff" without looping. Can you verify this fixes your case? Reviewers: Makinde, btrahan Reviewed By: Makinde CC: aran, epriestley Maniphest Tasks: T1025 Differential Revision: https://secure.phabricator.com/D1970 --- diff --git a/src/repository/api/mercurial/ArcanistMercurialAPI.php b/src/repository/api/mercurial/ArcanistMercurialAPI.php index b5a80c5c..74a21c4e 100644 --- a/src/repository/api/mercurial/ArcanistMercurialAPI.php +++ b/src/repository/api/mercurial/ArcanistMercurialAPI.php @@ -61,8 +61,7 @@ final class ArcanistMercurialAPI extends ArcanistRepositoryAPI { list($stdout) = $this->execxLocal( 'log -l 1 --template %s -r %s --', '{node}', - $this->getRelativeCommit()); - + $string); return $stdout; }