Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14001679
D11552.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.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
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)
Attached To
Mode
D11552: Only allow `arc branch` to be used under `git`
Attached
Detach File
Event Timeline
Log In to Comment