Page MenuHomePhorge

ArcanistRevertWorkflow.php
No OneTemporary

ArcanistRevertWorkflow.php

<?php
/**
* Redirects to arc backout workflow
* @group workflow
*/
final class ArcanistRevertWorkflow extends ArcanistBaseWorkflow {
public function getWorkflowName() {
return 'revert';
}
public function getCommandSynopses() {
return phutil_console_format(<<<EOTEXT
**revert**
EOTEXT
);
}
public function getCommandHelp() {
return phutil_console_format(<<<EOTEXT
Please use arc backout instead
EOTEXT
);
}
public function getArguments() {
return array(
'*' => 'input',
);
}
public function run() {
$console = PhutilConsole::getConsole();
$console->writeOut("Please use arc backout instead.\n");
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Mar 23, 19:50 (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1259356
Default Alt Text
ArcanistRevertWorkflow.php (681 B)

Event Timeline