Page MenuHomePhabricator

D11557.id27904.diff
No OneTemporary

D11557.id27904.diff

diff --git a/src/workflow/ArcanistRevertWorkflow.php b/src/workflow/ArcanistRevertWorkflow.php
--- a/src/workflow/ArcanistRevertWorkflow.php
+++ b/src/workflow/ArcanistRevertWorkflow.php
@@ -29,9 +29,13 @@
);
}
+ 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;
}
}

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 3, 3:12 AM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7226059
Default Alt Text
D11557.id27904.diff (544 B)

Event Timeline