Differential D13200 Diff 31965 src/applications/repository/management/PhabricatorRepositoryManagementImportingWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/management/PhabricatorRepositoryManagementImportingWorkflow.php
| Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | if ($rows) { | ||||
| $identifier = $row['commitIdentifier']; | $identifier = $row['commitIdentifier']; | ||||
| $console->writeOut('%s', 'r'.$repo->getCallsign().$identifier); | $console->writeOut('%s', 'r'.$repo->getCallsign().$identifier); | ||||
| if (!$args->getArg('simple')) { | if (!$args->getArg('simple')) { | ||||
| $status = $row['importStatus']; | $status = $row['importStatus']; | ||||
| $need = array(); | $need = array(); | ||||
| if (!($status & PhabricatorRepositoryCommit::IMPORTED_MESSAGE)) { | if (!($status & PhabricatorRepositoryCommit::IMPORTED_MESSAGE)) { | ||||
| $need[] = 'Message'; | $need[] = pht('Message'); | ||||
| } | } | ||||
| if (!($status & PhabricatorRepositoryCommit::IMPORTED_CHANGE)) { | if (!($status & PhabricatorRepositoryCommit::IMPORTED_CHANGE)) { | ||||
| $need[] = 'Change'; | $need[] = pht('Change'); | ||||
| } | } | ||||
| if (!($status & PhabricatorRepositoryCommit::IMPORTED_OWNERS)) { | if (!($status & PhabricatorRepositoryCommit::IMPORTED_OWNERS)) { | ||||
| $need[] = 'Owners'; | $need[] = pht('Owners'); | ||||
| } | } | ||||
| if (!($status & PhabricatorRepositoryCommit::IMPORTED_HERALD)) { | if (!($status & PhabricatorRepositoryCommit::IMPORTED_HERALD)) { | ||||
| $need[] = 'Herald'; | $need[] = pht('Herald'); | ||||
| } | } | ||||
| $console->writeOut(' %s', implode(', ', $need)); | $console->writeOut(' %s', implode(', ', $need)); | ||||
| } | } | ||||
| $console->writeOut("\n"); | $console->writeOut("\n"); | ||||
| } | } | ||||
| } else { | } else { | ||||
| Show All 9 Lines | |||||