{"record":{"id":"e3053b66c4d9e661","repo":"phacility/phabricator","slug":"there-are-no-repositories-on-the-selected-device-o","errorCode":null,"errorMessage":"There are no repositories on the selected device or service.","messagePattern":"There are no repositories on the selected device or service\\.","errorType":"exception","errorClass":"PhutilArgumentUsageException","httpStatus":null,"severity":"error","filePath":"src/applications/repository/management/PhabricatorRepositoryManagementThawWorkflow.php","lineNumber":149,"sourceCode":"        throw new PhutilArgumentUsageException(\n          pht('Specify one or more repositories to thaw.'));\n      }\n    } else {\n      $repositories = array();\n\n      $services = id(new AlmanacServiceQuery())\n        ->setViewer($viewer)\n        ->withDevicePHIDs(mpull($devices, 'getPHID'))\n        ->execute();\n      if ($services) {\n        $repositories = id(new PhabricatorRepositoryQuery())\n          ->setViewer($viewer)\n          ->withAlmanacServicePHIDs(mpull($services, 'getPHID'))\n          ->execute();\n      }\n\n      if (!$repositories) {\n        throw new PhutilArgumentUsageException(\n          pht('There are no repositories on the selected device or service.'));\n      }\n    }\n\n    $display_list = new PhutilConsoleList();\n    foreach ($repositories as $repository) {\n      $display_list->addItem(\n        pht(\n          '%s %s',\n          $repository->getMonogram(),\n          $repository->getName()));\n    }\n\n    echo tsprintf(\n      \"%s\\n\\n%B\\n\",\n      pht('These repositories will be thawed:'),\n      $display_list->drawConsoleString());\n","sourceCodeStart":131,"sourceCodeEnd":167,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/repository/management/PhabricatorRepositoryManagementThawWorkflow.php#L131-L167","documentation":"Error \"There are no repositories on the selected device or service.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/repository/management/PhabricatorRepositoryManagementThawWorkflow.php:149 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}