Differential D18339 Diff 44158 src/applications/differential/query/DifferentialRevisionSearchEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/query/DifferentialRevisionSearchEngine.php
| Show First 20 Lines • Show All 229 Lines • ▼ Show 20 Lines | $view = id(new PHUIBigInfoView()) | ||||
| pht('Pre-commit code review. Revisions that are waiting on your input '. | pht('Pre-commit code review. Revisions that are waiting on your input '. | ||||
| 'will appear here.')) | 'will appear here.')) | ||||
| ->addAction($create_button); | ->addAction($create_button); | ||||
| return $view; | return $view; | ||||
| } | } | ||||
| private function loadUnlandedDependencies(array $revisions) { | private function loadUnlandedDependencies(array $revisions) { | ||||
| $status_accepted = ArcanistDifferentialRevisionStatus::ACCEPTED; | |||||
| $phids = array(); | $phids = array(); | ||||
| foreach ($revisions as $revision) { | foreach ($revisions as $revision) { | ||||
| if ($revision->getStatus() != $status_accepted) { | if (!$revision->isAccepted()) { | ||||
| continue; | continue; | ||||
| } | } | ||||
| $phids[] = $revision->getPHID(); | $phids[] = $revision->getPHID(); | ||||
| } | } | ||||
| if (!$phids) { | if (!$phids) { | ||||
| return array(); | return array(); | ||||
| Show All 39 Lines | |||||