Summary: Using `array('any')` to represent `array('git', 'hg', 'svn')` is a bit magical and leads to a lot of special-casing.
Test Plan: Verified that tab completion (ala `ArcanistShellCompleteWorkflow`) still worked.
Reviewers: #blessed_reviewers, epriestley
Reviewed By: #blessed_reviewers, epriestley
Subscribers: Korvin, epriestley
Differential Revision: https://secure.phabricator.com/D11604
continue;
}
- $supported = $workflow->getSupportedRevisionControlSystems();
-
- $ok = (in_array('any', $supported) || in_array($vcs, $supported));
- if (!$ok) {
+ if (!in_array($vcs, $workflow->getSupportedRevisionControlSystems())) {
continue;
}
}
protected function getSupportedRevisionControlSystems() {
- return array('any');
+ return array('git', 'hg', 'svn');
}
final protected function getPassthruArgumentsAsMap($command) {