]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Change parameters for `diffusion.getlintmessages` call
authorJoshua Spence <josh@joshuaspence.com>
Mon, 18 May 2015 14:08:10 +0000 (00:08 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Mon, 18 May 2015 14:10:44 +0000 (00:10 +1000)
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

src/workflow/ArcanistLintWorkflow.php

index a824a080830bf86eeb36b32e030a6984945b4d64..23dc352a3c220de78245140e3f8705f57fae0a64 100644 (file)
@@ -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),