Differential D15783 Diff 38030 src/applications/repository/management/PhabricatorRepositoryManagementLookupUsersWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/management/PhabricatorRepositoryManagementLookupUsersWorkflow.php
Show All 37 Lines | foreach ($commits as $commit) { | ||||
$this->getViewer(), | $this->getViewer(), | ||||
DiffusionRequest::newFromDictionary( | DiffusionRequest::newFromDictionary( | ||||
array( | array( | ||||
'repository' => $repo, | 'repository' => $repo, | ||||
'user' => $this->getViewer(), | 'user' => $this->getViewer(), | ||||
)), | )), | ||||
'diffusion.querycommits', | 'diffusion.querycommits', | ||||
array( | array( | ||||
'repositoryPHID' => $repo->getPHID(), | |||||
'phids' => array($commit->getPHID()), | 'phids' => array($commit->getPHID()), | ||||
'bypassCache' => true, | 'bypassCache' => true, | ||||
)); | )); | ||||
if (empty($refs_raw['data'])) { | if (empty($refs_raw['data'])) { | ||||
throw new Exception( | throw new Exception( | ||||
pht( | pht( | ||||
'Unable to retrieve details for commit "%s"!', | 'Unable to retrieve details for commit "%s"!', | ||||
▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines |