{"record":{"id":"7fa7e07190b34de2","repo":"phacility/phabricator","slug":"commit-s-does-not-exist-or-is-ambiguous","errorCode":null,"errorMessage":"Commit \"%s\" does not exist or is ambiguous.","messagePattern":"Commit \"(.+?)\" does not exist or is ambiguous\\.","errorType":"console","errorClass":"PhutilArgumentUsageException","httpStatus":null,"severity":"error","filePath":"src/applications/repository/management/PhabricatorRepositoryManagementWorkflow.php","lineNumber":91,"sourceCode":"    return $this->loadNamedCommits($names);\n  }\n\n  protected function loadNamedCommit($name) {\n    $map = $this->loadNamedCommits(array($name));\n    return $map[$name];\n  }\n\n  protected function loadNamedCommits(array $names) {\n    $query = id(new DiffusionCommitQuery())\n      ->setViewer($this->getViewer())\n      ->withIdentifiers($names);\n\n    $query->execute();\n    $map = $query->getIdentifierMap();\n\n    foreach ($names as $name) {\n      if (empty($map[$name])) {\n        throw new PhutilArgumentUsageException(\n          pht('Commit \"%s\" does not exist or is ambiguous.', $name));\n      }\n    }\n\n    return $map;\n  }\n\n\n}\n","sourceCodeStart":73,"sourceCodeEnd":101,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/repository/management/PhabricatorRepositoryManagementWorkflow.php#L73-L101","documentation":"Error \"Commit \"%s\" does not exist or is ambiguous.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/repository/management/PhabricatorRepositoryManagementWorkflow.php:91 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"}