phacility/phabricator · error · PhutilArgumentUsageException

There are no repositories on the selected device or service.

Error message

There are no repositories on the selected device or service.

What it means

Error "There are no repositories on the selected device or service." thrown in phacility/phabricator.

Source

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

        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(
          pht('There are no repositories on the selected device or service.'));
      }
    }

    $display_list = new PhutilConsoleList();
    foreach ($repositories as $repository) {
      $display_list->addItem(
        pht(
          '%s %s',
          $repository->getMonogram(),
          $repository->getName()));
    }

    echo tsprintf(
      "%s\n\n%B\n",
      pht('These repositories will be thawed:'),
      $display_list->drawConsoleString());

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/repository/management/PhabricatorRepositoryManagementThawWorkflow.php:149 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/e3053b66c4d9e661. Report an issue: GitHub.