1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-23 14:00:55 +01:00

Remove ArcanistWorkflow::setWorkingCopy

Summary: Fixes T9583. setWorkingCopy doesn't actually work, so eliminate it.

Test Plan: arc unit --everything

Reviewers: chad, epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Maniphest Tasks: T9583

Differential Revision: https://secure.phabricator.com/D14293
This commit is contained in:
Aviv Eyal 2015-10-16 09:53:01 -07:00
parent 172c930630
commit 6c7def560d

View file

@ -52,7 +52,6 @@ abstract class ArcanistWorkflow extends Phobject {
private $userName;
private $repositoryAPI;
private $configurationManager;
private $workingCopy;
private $arguments = array();
private $passedArguments = array();
private $command;
@ -601,10 +600,6 @@ abstract class ArcanistWorkflow extends Phobject {
$workflow->conduitAuthenticated = $this->conduitAuthenticated;
}
if ($this->workingCopy) {
$workflow->setWorkingCopy($this->workingCopy);
}
$workflow->setArcanistConfiguration($arc_config);
$workflow->parseArguments(array_values($argv));
@ -790,12 +785,6 @@ abstract class ArcanistWorkflow extends Phobject {
return $working_copy;
}
final public function setWorkingCopy(
ArcanistWorkingCopyIdentity $working_copy) {
$this->workingCopy = $working_copy;
return $this;
}
final public function setRepositoryAPI($api) {
$this->repositoryAPI = $api;
return $this;