diff --git a/src/workflow/ArcanistShellCompleteWorkflow.php b/src/workflow/ArcanistShellCompleteWorkflow.php index 0cd9571e..e5a2aacf 100644 --- a/src/workflow/ArcanistShellCompleteWorkflow.php +++ b/src/workflow/ArcanistShellCompleteWorkflow.php @@ -82,10 +82,7 @@ EOTEXT 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 index 8f4dc3aa..56fad6dc 100644 --- a/src/workflow/ArcanistWorkflow.php +++ b/src/workflow/ArcanistWorkflow.php @@ -1216,7 +1216,7 @@ abstract class ArcanistWorkflow extends Phobject { } protected function getSupportedRevisionControlSystems() { - return array('any'); + return array('git', 'hg', 'svn'); } final protected function getPassthruArgumentsAsMap($command) {