phacility/phabricator · error · PhutilArgumentUsageException
No revision "%s" exists.
Error message
No revision "%s" exists.
What it means
Error "No revision "%s" exists." thrown in phacility/phabricator.
Source
Thrown at src/applications/differential/management/PhabricatorDifferentialRebuildChangesetsWorkflow.php:50
->withNames(array($revision_identifier))
->executeOne();
if ($revision) {
if (!($revision instanceof DifferentialRevision)) {
throw new PhutilArgumentUsageException(
pht(
'Object "%s" specified by "--revision" must be a Differential '.
'revision.',
$revision_identifier));
}
} else {
$revision = id(new DifferentialRevisionQuery())
->setViewer($viewer)
->withIDs(array($revision_identifier))
->executeOne();
}
if (!$revision) {
throw new PhutilArgumentUsageException(
pht(
'No revision "%s" exists.',
$revision_identifier));
}
$diffs = id(new DifferentialDiffQuery())
->setViewer($viewer)
->withRevisionIDs(array($revision->getID()))
->execute();
$changesets = id(new DifferentialChangesetQuery())
->setViewer($viewer)
->withDiffs($diffs)
->needHunks(true)
->execute();
$changeset_groups = mgroup($changesets, 'getDiffID');
View on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/differential/management/PhabricatorDifferentialRebuildChangesetsWorkflow.php:50 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/9db97bcb52a7d518.
Report an issue: GitHub.