From 4c06d1b9e39fda18aa420da5575a8c212292ce23 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Tue, 10 Jun 2014 18:28:59 -0700 Subject: [PATCH] [LATER] Remove deprecated `mark-committed` workflow. Summary: This workflow has been deprecated for a long time now. At some stage, it should be removed. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9463 --- src/__phutil_library_map__.php | 2 - .../ArcanistMarkCommittedWorkflow.php | 49 ------------------- 2 files changed, 51 deletions(-) delete mode 100644 src/workflow/ArcanistMarkCommittedWorkflow.php diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index ba7adb4c..3cd13d5e 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -115,7 +115,6 @@ phutil_register_library_map(array( 'ArcanistLinterTestCase' => 'lint/linter/__tests__/ArcanistLinterTestCase.php', 'ArcanistLintersWorkflow' => 'workflow/ArcanistLintersWorkflow.php', 'ArcanistListWorkflow' => 'workflow/ArcanistListWorkflow.php', - 'ArcanistMarkCommittedWorkflow' => 'workflow/ArcanistMarkCommittedWorkflow.php', 'ArcanistMercurialAPI' => 'repository/api/ArcanistMercurialAPI.php', 'ArcanistMercurialParser' => 'repository/parser/ArcanistMercurialParser.php', 'ArcanistMercurialParserTestCase' => 'repository/parser/__tests__/ArcanistMercurialParserTestCase.php', @@ -286,7 +285,6 @@ phutil_register_library_map(array( 'ArcanistLinterTestCase' => 'ArcanistPhutilTestCase', 'ArcanistLintersWorkflow' => 'ArcanistBaseWorkflow', 'ArcanistListWorkflow' => 'ArcanistBaseWorkflow', - 'ArcanistMarkCommittedWorkflow' => 'ArcanistBaseWorkflow', 'ArcanistMercurialAPI' => 'ArcanistRepositoryAPI', 'ArcanistMercurialParserTestCase' => 'ArcanistTestCase', 'ArcanistMergeConflictLinter' => 'ArcanistLinter', diff --git a/src/workflow/ArcanistMarkCommittedWorkflow.php b/src/workflow/ArcanistMarkCommittedWorkflow.php deleted file mode 100644 index 33791410..00000000 --- a/src/workflow/ArcanistMarkCommittedWorkflow.php +++ /dev/null @@ -1,49 +0,0 @@ - 'deprecated', - ); - } - - public function requiresConduit() { - return true; - } - - public function requiresAuthentication() { - return true; - } - - public function requiresRepositoryAPI() { - return true; - } - - public function run() { - throw new ArcanistUsageException( - "'arc mark-committed' is now 'arc close-revision' (because ". - "'mark-committed' only really made sense under SVN)."); - } -}