Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15285748
D11552.id28044.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
585 B
Referenced Files
None
Subscribers
None
D11552.id28044.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11552: Only allow `arc branch` to be used under `git`
Attached
Detach File
Event Timeline
Log In to Comment