From: Joshua Spence Date: Sun, 1 Feb 2015 10:56:28 +0000 (+1100) Subject: Minor tidying of `ArcanistRevertWorkflow` X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=8208cd3231da38e9da86ac384ebd13ab16ada5fc;p=arcanist.git Minor tidying of `ArcanistRevertWorkflow` 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 --- diff --git a/src/workflow/ArcanistRevertWorkflow.php b/src/workflow/ArcanistRevertWorkflow.php index a9479357..823a2802 100644 --- a/src/workflow/ArcanistRevertWorkflow.php +++ b/src/workflow/ArcanistRevertWorkflow.php @@ -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; } }