1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-25 16:22:42 +01:00

Fix arcanist shell completion

Summary: Fixes T8560.

Test Plan: Ran `arc shell-complete` outside of a working copy.

Reviewers: avivey, #blessed_reviewers, epriestley

Reviewed By: avivey, #blessed_reviewers, epriestley

Subscribers: avivey, epriestley, Korvin

Maniphest Tasks: T8560

Differential Revision: https://secure.phabricator.com/D13338
This commit is contained in:
Joshua Spence 2015-06-19 13:15:43 +10:00
parent 3414cbeda5
commit f06eea0d84
2 changed files with 5 additions and 2 deletions

View file

@ -84,6 +84,9 @@ EOTEXT
continue;
}
$workflow->setArcanistConfiguration($this->getArcanistConfiguration());
$workflow->setConfigurationManager($this->getConfigurationManager());
if ($vcs || $workflow->requiresWorkingCopy()) {
$supported_vcs = $workflow->getSupportedRevisionControlSystems();
if (!in_array($vcs, $supported_vcs)) {

View file

@ -53,8 +53,8 @@ abstract class ArcanistWorkflow extends Phobject {
private $repositoryAPI;
private $configurationManager;
private $workingCopy;
private $arguments;
private $passedArguments;
private $arguments = array();
private $passedArguments = array();
private $command;
private $stashed;