1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-10 00:42:40 +01:00

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
This commit is contained in:
epriestley 2012-03-21 11:07:15 -07:00
parent 27725b073e
commit e8accf4b9f

View file

@ -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;
}