From: Joshua Spence Date: Mon, 18 May 2015 14:08:10 +0000 (+1000) Subject: Change parameters for `diffusion.getlintmessages` call X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d0d2cf903cf90c128399604bf2568682cc189f13;p=arcanist.git Change parameters for `diffusion.getlintmessages` call Summary: Ref T7604. Change the parameter for `diffusion.getlintmessages` from `arcanistProject` to `repositoryPHID`. Test Plan: Ran `arc --conduit-uri='http://phabricator.local lint --only-new=1` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T7604 Differential Revision: https://secure.phabricator.com/D12900 --- diff --git a/src/workflow/ArcanistLintWorkflow.php b/src/workflow/ArcanistLintWorkflow.php index a824a080..23dc352a 100644 --- a/src/workflow/ArcanistLintWorkflow.php +++ b/src/workflow/ArcanistLintWorkflow.php @@ -319,7 +319,7 @@ EOTEXT } $lint_future = $conduit->callMethod('diffusion.getlintmessages', array( - 'arcanistProject' => $this->getWorkingCopy()->getProjectID(), + 'repositoryPHID' => idx($this->loadProjectRepository(), 'phid'), 'branch' => '', // TODO: Tracking branch. 'commit' => $api->getBaseCommit(), 'files' => array_keys($all_paths),