Remove arcanist projects from differential
Summary: Ref T7604. Remove arcanist projects from differential. Depends on D12687 and D12893. Test Plan: Submitted a diff. Patched the diff with `arc patch`. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T7604 Differential Revision: https://secure.phabricator.com/D12894
This commit is contained in:
@@ -36,7 +36,6 @@ final class DifferentialRevisionQuery
|
||||
private $phids = array();
|
||||
private $responsibles = array();
|
||||
private $branches = array();
|
||||
private $arcanistProjectPHIDs = array();
|
||||
private $repositoryPHIDs;
|
||||
private $updatedEpochMin;
|
||||
private $updatedEpochMax;
|
||||
@@ -228,19 +227,6 @@ final class DifferentialRevisionQuery
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Filter results to only return revisions with a given set of arcanist
|
||||
* projects.
|
||||
*
|
||||
* @param array List of project PHIDs.
|
||||
* @return this
|
||||
* @task config
|
||||
*/
|
||||
public function withArcanistProjectPHIDs(array $arc_project_phids) {
|
||||
$this->arcanistProjectPHIDs = $arc_project_phids;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function withRepositoryPHIDs(array $repository_phids) {
|
||||
$this->repositoryPHIDs = $repository_phids;
|
||||
return $this;
|
||||
@@ -771,13 +757,6 @@ final class DifferentialRevisionQuery
|
||||
$this->branches);
|
||||
}
|
||||
|
||||
if ($this->arcanistProjectPHIDs) {
|
||||
$where[] = qsprintf(
|
||||
$conn_r,
|
||||
'r.arcanistProjectPHID in (%Ls)',
|
||||
$this->arcanistProjectPHIDs);
|
||||
}
|
||||
|
||||
if ($this->updatedEpochMin !== null) {
|
||||
$where[] = qsprintf(
|
||||
$conn_r,
|
||||
|
||||
Reference in New Issue
Block a user