Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15285381
D11604.id27939.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
945 B
Referenced Files
None
Subscribers
None
D11604.id27939.diff
View Options
diff --git a/src/workflow/ArcanistShellCompleteWorkflow.php b/src/workflow/ArcanistShellCompleteWorkflow.php
--- a/src/workflow/ArcanistShellCompleteWorkflow.php
+++ b/src/workflow/ArcanistShellCompleteWorkflow.php
@@ -82,10 +82,7 @@
continue;
}
- $supported = $workflow->getSupportedRevisionControlSystems();
-
- $ok = (in_array('any', $supported) || in_array($vcs, $supported));
- if (!$ok) {
+ if (!in_array($vcs, $workflow->getSupportedRevisionControlSystems())) {
continue;
}
diff --git a/src/workflow/ArcanistWorkflow.php b/src/workflow/ArcanistWorkflow.php
--- a/src/workflow/ArcanistWorkflow.php
+++ b/src/workflow/ArcanistWorkflow.php
@@ -1216,7 +1216,7 @@
}
protected function getSupportedRevisionControlSystems() {
- return array('any');
+ return array('git', 'hg', 'svn');
}
final protected function getPassthruArgumentsAsMap($command) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 5, 1:19 PM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7225624
Default Alt Text
D11604.id27939.diff (945 B)
Attached To
Mode
D11604: Change "any" to explicitly list revision control systems
Attached
Detach File
Event Timeline
Log In to Comment