Page MenuHomePhabricator

D9463.diff
No OneTemporary

D9463.diff

diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -115,7 +115,6 @@
'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 @@
'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
--- a/src/workflow/ArcanistMarkCommittedWorkflow.php
+++ /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).");
- }
-}

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 5, 5:15 AM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7223613
Default Alt Text
D9463.diff (2 KB)

Event Timeline