Differential D14073 Diff 34741 src/applications/repository/management/PhabricatorRepositoryManagementReparseWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/management/PhabricatorRepositoryManagementReparseWorkflow.php
Show First 20 Lines • Show All 254 Lines • ▼ Show 20 Lines | if ($all_from_repo) { | ||||
$callsign)); | $callsign)); | ||||
} | } | ||||
$commits[] = $commit; | $commits[] = $commit; | ||||
} | } | ||||
} | } | ||||
if ($all_from_repo && !$force_local) { | if ($all_from_repo && !$force_local) { | ||||
$console->writeOut("%s\n", pht( | $console->writeOut("%s\n", pht( | ||||
'**NOTE**: This script will queue tasks to reparse the data. Once the '. | "**NOTE**: This script will queue tasks to reparse the data. Once the ". | ||||
'tasks have been queued, you need to run Taskmaster daemons to '. | "tasks have been queued, you need to run Taskmaster daemons to ". | ||||
'execute them.'."\n\n". | "execute them.\n\n%s", | ||||
"QUEUEING TASKS (%s Commits):", | pht( | ||||
new PhutilNumber(count($commits)))); | 'QUEUEING TASKS (%s Commit(s)):', | ||||
phutil_count($commits)))); | |||||
} | } | ||||
$progress = new PhutilConsoleProgressBar(); | $progress = new PhutilConsoleProgressBar(); | ||||
$progress->setTotal(count($commits)); | $progress->setTotal(count($commits)); | ||||
$tasks = array(); | $tasks = array(); | ||||
foreach ($commits as $commit) { | foreach ($commits as $commit) { | ||||
if ($importing) { | if ($importing) { | ||||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |