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

Bugfixed undefined variable $commit.

This commit is contained in:
bonneval 2012-12-18 14:31:48 +01:00
parent b5b1fd62dc
commit 551d036a89

View file

@ -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.");