Differential D15783 Diff 38030 src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
Show All 17 Lines | $refs_raw = DiffusionQuery::callConduitWithDiffusionRequest( | ||||
$viewer, | $viewer, | ||||
DiffusionRequest::newFromDictionary( | DiffusionRequest::newFromDictionary( | ||||
array( | array( | ||||
'repository' => $repository, | 'repository' => $repository, | ||||
'user' => $viewer, | 'user' => $viewer, | ||||
)), | )), | ||||
'diffusion.querycommits', | 'diffusion.querycommits', | ||||
array( | array( | ||||
'repositoryPHID' => $repository->getPHID(), | |||||
'phids' => array($commit->getPHID()), | 'phids' => array($commit->getPHID()), | ||||
'bypassCache' => true, | 'bypassCache' => true, | ||||
'needMessages' => true, | 'needMessages' => true, | ||||
)); | )); | ||||
if (empty($refs_raw['data'])) { | if (empty($refs_raw['data'])) { | ||||
throw new Exception( | throw new Exception( | ||||
pht( | pht( | ||||
▲ Show 20 Lines • Show All 320 Lines • Show Last 20 Lines |