From: bonneval Date: Tue, 18 Dec 2012 13:31:48 +0000 (+0100) Subject: Bugfixed undefined variable $commit. X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=551d036a89ebeb2e58b85ceeca8fcb2eba7b5eb5;p=arcanist.git Bugfixed undefined variable $commit. --- diff --git a/src/repository/api/ArcanistMercurialAPI.php b/src/repository/api/ArcanistMercurialAPI.php index e3ef70ca..821661a8 100644 --- a/src/repository/api/ArcanistMercurialAPI.php +++ b/src/repository/api/ArcanistMercurialAPI.php @@ -85,7 +85,7 @@ final class ArcanistMercurialAPI extends ArcanistRepositoryAPI { protected function buildBaseCommit($symbolic_commit) { if ($symbolic_commit !== null) { try { - $commit = $this->getCanonicalRevisionName($commit); + $commit = $this->getCanonicalRevisionName($symbolic_commit); } catch (Exception $ex) { throw new ArcanistUsageException( "Commit '{$commit}' is not a valid Mercurial commit identifier.");