1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-26 16:52:40 +01:00

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
This commit is contained in:
Joshua Spence 2015-05-19 00:08:10 +10:00
parent 4bb2eecdaf
commit d0d2cf903c

View file

@ -319,7 +319,7 @@ EOTEXT
} }
$lint_future = $conduit->callMethod('diffusion.getlintmessages', array( $lint_future = $conduit->callMethod('diffusion.getlintmessages', array(
'arcanistProject' => $this->getWorkingCopy()->getProjectID(), 'repositoryPHID' => idx($this->loadProjectRepository(), 'phid'),
'branch' => '', // TODO: Tracking branch. 'branch' => '', // TODO: Tracking branch.
'commit' => $api->getBaseCommit(), 'commit' => $api->getBaseCommit(),
'files' => array_keys($all_paths), 'files' => array_keys($all_paths),