]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Minor, fix an exception variable.
authorepriestley <git@epriestley.com>
Mon, 11 Feb 2013 12:54:20 +0000 (04:54 -0800)
committerepriestley <git@epriestley.com>
Mon, 11 Feb 2013 12:54:20 +0000 (04:54 -0800)
Auditors: DurhamGoode

src/repository/api/ArcanistMercurialAPI.php

index 79af82f174c7d5b66c8c773e70e1f84f0558097c..fdd3dd4a25824226d116a30a27218780a5c42062 100644 (file)
@@ -89,7 +89,8 @@ final class ArcanistMercurialAPI extends ArcanistRepositoryAPI {
           hgsprintf('ancestor(%s,.)', $symbolic_commit));
       } catch (Exception $ex) {
         throw new ArcanistUsageException(
-          "Commit '{$commit}' is not a valid Mercurial commit identifier.");
+          "Commit '{$symbolic_commit}' is not a valid Mercurial commit ".
+          "identifier.");
       }
 
       $this->setBaseCommitExplanation("it is the greatest common ancestor of ".