]> khamidou — GitHub mirrors - arcanist.git/commitdiff
[LATER] Remove deprecated `mark-committed` workflow.
authorJoshua Spence <josh@joshuaspence.com>
Wed, 11 Jun 2014 01:28:59 +0000 (18:28 -0700)
committerepriestley <git@epriestley.com>
Wed, 11 Jun 2014 01:29:00 +0000 (18:29 -0700)
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
src/workflow/ArcanistMarkCommittedWorkflow.php [deleted file]

index ba7adb4c4517ddb189ff0a73664f94f3816944aa..3cd13d5e7e8c4f02305dcf61163c2b3116ac10ad 100644 (file)
@@ -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 (file)
index 3379141..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-
-/**
- * @group workflow
- */
-final class ArcanistMarkCommittedWorkflow extends ArcanistBaseWorkflow {
-
-  public function getWorkflowName() {
-    return 'mark-committed';
-  }
-
-  public function getCommandSynopses() {
-    return phutil_console_format(<<<EOTEXT
-      **mark-committed** (DEPRECATED)
-EOTEXT
-      );
-  }
-
-  public function getCommandHelp() {
-    return phutil_console_format(<<<EOTEXT
-          Deprecated. Moved to "close-revision".
-EOTEXT
-      );
-  }
-
-  public function getArguments() {
-    return array(
-      '*' => '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).");
-  }
-}