From e8accf4b9f4e78107e7dea2f82f8b5ac03eb3d1c Mon Sep 17 00:00:00 2001 From: epriestley Date: Wed, 21 Mar 2012 11:07:15 -0700 Subject: [PATCH] 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 --- src/repository/api/mercurial/ArcanistMercurialAPI.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.43.0