Page MenuHomePhabricator

D11626.diff
No OneTemporary

D11626.diff

diff --git a/src/workflow/ArcanistFeatureWorkflow.php b/src/workflow/ArcanistFeatureWorkflow.php
--- a/src/workflow/ArcanistFeatureWorkflow.php
+++ b/src/workflow/ArcanistFeatureWorkflow.php
@@ -69,13 +69,12 @@
);
}
+ 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) {

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 31, 4:04 AM (6 d, 19 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7709062
Default Alt Text
D11626.diff (702 B)

Event Timeline