phacility/phabricator · error · PhutilArgumentUsageException

Specify one or more repositories to thaw.

Error message

Specify one or more repositories to thaw.

What it means

Error "Specify one or more repositories to thaw." thrown in phacility/phabricator.

Source

Thrown at src/applications/repository/management/PhabricatorRepositoryManagementThawWorkflow.php:131

    $repository_names = $args->getArg('repositories');
    $all_repositories = $args->getArg('all-repositories');
    if ($repository_names && $all_repositories) {
      throw new PhutilArgumentUsageException(
        pht(
          'Specify a list of repositories or "--all-repositories", '.
          'but not both.'));
    } else if (!$repository_names && !$all_repositories) {
      throw new PhutilArgumentUsageException(
        pht(
          'Select repositories to affect by providing a list of repositories '.
          'or using the "--all-repositories" flag.'));
    }

    if ($repository_names) {
      $repositories = $this->loadRepositories($args, 'repositories');
      if (!$repositories) {
        throw new PhutilArgumentUsageException(
          pht('Specify one or more repositories to thaw.'));
      }
    } else {
      $repositories = array();

      $services = id(new AlmanacServiceQuery())
        ->setViewer($viewer)
        ->withDevicePHIDs(mpull($devices, 'getPHID'))
        ->execute();
      if ($services) {
        $repositories = id(new PhabricatorRepositoryQuery())
          ->setViewer($viewer)
          ->withAlmanacServicePHIDs(mpull($services, 'getPHID'))
          ->execute();
      }

      if (!$repositories) {
        throw new PhutilArgumentUsageException(

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/repository/management/PhabricatorRepositoryManagementThawWorkflow.php:131 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21). Data as JSON: /api/errors/2d69bd7382c03bd1. Report an issue: GitHub.