From a89d2537a1ab2b306cfbe39169aff978e0d28b80 Mon Sep 17 00:00:00 2001 From: Marek Sapota Date: Tue, 13 Dec 2011 11:18:07 -0800 Subject: [PATCH] Allow revision numbers prefixed with 'D' in `arc commit --revision` Test Plan: Tried `arc commit --revision D123` and it worked. Reviewers: epriestley Reviewed By: epriestley CC: aran, epriestley Differential Revision: 1194 --- src/workflow/commit/ArcanistCommitWorkflow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workflow/commit/ArcanistCommitWorkflow.php b/src/workflow/commit/ArcanistCommitWorkflow.php index 6957bbcd..51a111a7 100644 --- a/src/workflow/commit/ArcanistCommitWorkflow.php +++ b/src/workflow/commit/ArcanistCommitWorkflow.php @@ -74,7 +74,7 @@ EOTEXT $repository_api = $this->getRepositoryAPI(); $conduit = $this->getConduit(); - $revision_id = $this->getArgument('revision'); + $revision_id = $this->normalizeRevisionID($this->getArgument('revision')); if (!$revision_id) { $revision_data = $conduit->callMethodSynchronous( -- 2.43.0