Differential D15902 Diff 38302 src/applications/repository/management/PhabricatorRepositoryManagementRefsWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/management/PhabricatorRepositoryManagementRefsWorkflow.php
Show All 16 Lines | $this | ||||
array( | array( | ||||
'name' => 'repos', | 'name' => 'repos', | ||||
'wildcard' => true, | 'wildcard' => true, | ||||
), | ), | ||||
)); | )); | ||||
} | } | ||||
public function execute(PhutilArgumentParser $args) { | public function execute(PhutilArgumentParser $args) { | ||||
$repos = $this->loadRepositories($args, 'repos'); | $repos = $this->loadLocalRepositories($args, 'repos'); | ||||
if (!$repos) { | if (!$repos) { | ||||
throw new PhutilArgumentUsageException( | throw new PhutilArgumentUsageException( | ||||
pht( | pht( | ||||
'Specify one or more repositories to update refs for.')); | 'Specify one or more repositories to update refs for.')); | ||||
} | } | ||||
$console = PhutilConsole::getConsole(); | $console = PhutilConsole::getConsole(); | ||||
Show All 19 Lines |