From e3311f08328fda758c4d5e270abf763a15f7dc0a Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Wed, 20 May 2015 11:29:41 +1000 Subject: [PATCH] Remove "arcanist projects" from arcanist Summary: Ref T7604. Remove "arcanist projects". Depends on D12894. Test Plan: This diff (so meta). Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T7604 Differential Revision: https://secure.phabricator.com/D12901 --- src/repository/api/ArcanistSubversionAPI.php | 4 +--- src/workflow/ArcanistDiffWorkflow.php | 1 - src/workflow/ArcanistPatchWorkflow.php | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/repository/api/ArcanistSubversionAPI.php b/src/repository/api/ArcanistSubversionAPI.php index e9536111..707d2d93 100644 --- a/src/repository/api/ArcanistSubversionAPI.php +++ b/src/repository/api/ArcanistSubversionAPI.php @@ -658,9 +658,7 @@ EODIFF; $results = $conduit->callMethodSynchronous( 'differential.query', - $query + array( - 'arcanistProjects' => array($project), - )); + $query); foreach ($results as $key => $result) { if ($result['sourcePath'] != $this->getPath()) { diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php index 34754966..56c2a281 100644 --- a/src/workflow/ArcanistDiffWorkflow.php +++ b/src/workflow/ArcanistDiffWorkflow.php @@ -2254,7 +2254,6 @@ EOTEXT 'sourceControlPath' => $base_path, 'sourceControlBaseRevision' => $base_revision, 'creationMethod' => 'arc', - 'arcanistProject' => $project_id, ); if (!$this->isRawDiffSource()) { diff --git a/src/workflow/ArcanistPatchWorkflow.php b/src/workflow/ArcanistPatchWorkflow.php index 4fbc9cf0..dda5a54c 100644 --- a/src/workflow/ArcanistPatchWorkflow.php +++ b/src/workflow/ArcanistPatchWorkflow.php @@ -914,7 +914,6 @@ EOTEXT 'differential.query', array( 'phids' => $phids, - 'arcanistProjects' => array($bundle->getProjectID()), )); $revs = array(); foreach ($dep_on_revs as $dep_on_rev) {