]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Minor tidying of `ArcanistRevertWorkflow`
authorJoshua Spence <josh@joshuaspence.com>
Sun, 1 Feb 2015 10:56:28 +0000 (21:56 +1100)
committerJoshua Spence <josh@joshuaspence.com>
Sun, 1 Feb 2015 10:56:28 +0000 (21:56 +1100)
Summary: Self-explanatory.

Test Plan: Eyeball it.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11557

src/workflow/ArcanistRevertWorkflow.php

index a9479357a4206834c96fa90d24d1d8f42a2d82e5..823a2802e6dcd659e6da6e2296d2d1286e75fc51 100644 (file)
@@ -29,9 +29,13 @@ EOTEXT
     );
   }
 
+  protected function getSupportedRevisionControlSystems() {
+    return array('git', 'hg');
+  }
+
   public function run() {
-    $console = PhutilConsole::getConsole();
-    $console->writeOut("Please use arc backout instead.\n");
+    echo pht('Please use `%s` instead.', 'arc backout')."\n";
+    return 1;
   }
 
 }