From 84254f111a7ff95e3a8ba60c55194dc8057d27fb Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 11 Feb 2013 04:54:20 -0800 Subject: [PATCH] Minor, fix an exception variable. Auditors: DurhamGoode --- src/repository/api/ArcanistMercurialAPI.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/repository/api/ArcanistMercurialAPI.php b/src/repository/api/ArcanistMercurialAPI.php index 79af82f1..fdd3dd4a 100644 --- a/src/repository/api/ArcanistMercurialAPI.php +++ b/src/repository/api/ArcanistMercurialAPI.php @@ -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 ". -- 2.43.0