Summary: This workflow only works on git + mercurial.
Test Plan: I don't even subversion.
Reviewers: #blessed_reviewers, epriestley
Reviewed By: #blessed_reviewers, epriestley
Subscribers: Korvin, epriestley
Differential Revision: https://secure.phabricator.com/D11626
);
}
+ public function getSupportedRevisionControlSystems() {
+ return array('git', 'hg');
+ }
+
public function run() {
$repository_api = $this->getRepositoryAPI();
- if (!($repository_api instanceof ArcanistGitAPI) &&
- !($repository_api instanceof ArcanistMercurialAPI)) {
- throw new ArcanistUsageException(
- 'arc feature is only supported under Git and Mercurial.');
- }
$names = $this->getArgument('branch');
if ($names) {