Page MenuHomePhabricator

D11552.diff
No OneTemporary

D11552.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
Sat, Oct 26, 10:54 AM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6750574
Default Alt Text
D11552.diff (585 B)

Event Timeline