Page MenuHomePhabricator

D11552.id28044.diff
No OneTemporary

D11552.id28044.diff

diff --git a/src/workflow/ArcanistBranchWorkflow.php b/src/workflow/ArcanistBranchWorkflow.php
--- a/src/workflow/ArcanistBranchWorkflow.php
+++ b/src/workflow/ArcanistBranchWorkflow.php
@@ -25,12 +25,11 @@
);
}
+ public function getSupportedRevisionControlSystems() {
+ return array('git');
+ }
+
public function run() {
- $repository_api = $this->getRepositoryAPI();
- if (!($repository_api instanceof ArcanistGitAPI)) {
- throw new ArcanistUsageException(
- 'arc branch is only supported under Git.');
- }
return parent::run();
}

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 5, 3:50 PM (4 d, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7225923
Default Alt Text
D11552.id28044.diff (585 B)

Event Timeline