phacility/phabricator · error · Exception
You can not commandeer this revision because you are…
Error message
You can not commandeer this revision because you are already the author.
What it means
Sanity guard inside DifferentialRevisionCommandeerTransaction::validateAction(): the acting viewer is already the revision author, so commandeer is a no-op. Commandeer transfers ownership of a revision to the acting user; if isViewerRevisionAuthor is true there is nothing to transfer and the transaction is rejected to avoid a pointless author change.
Solutions
- No action required: you already own the revision
- If you expected someone else to own it, check the revision details page to see the current author (it may have been commandeered previously)
- If acting via API, ensure the actor parameter is the user who should take ownership, not the current author
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/applications/differential/xaction/DifferentialRevisionCommandeerTransaction.php:83 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/92f5d50e86baf924.
Report an issue: GitHub.
Appendix: source
Thrown at src/applications/differential/xaction/DifferentialRevisionCommandeerTransaction.php:83
// If a revision has already landed, we generally want to discourage
// reopening and reusing it since this tends to create a big mess (users
// should create a new revision instead). Thus, we stop you from
// commandeering closed revisions.
// See PHI985. If the revision was abandoned, there's no peril in allowing
// the commandeer since the change (likely) never actually landed. So
// it's okay to commandeer abandoned revisions.
if ($object->isClosed() && !$object->isAbandoned()) {
throw new Exception(
pht(
'You can not commandeer this revision because it has already '.
'been closed. You can only commandeer open or abandoned '.
'revisions.'));
}
if ($this->isViewerRevisionAuthor($object, $viewer)) {
throw new Exception(
pht(
'You can not commandeer this revision because you are already '.
'the author.'));
}
}
public function getTitle() {
return pht(
'%s commandeered this revision.',
$this->renderAuthor());
}
public function getTitleForFeed() {
return pht(
'%s commandeered %s.',
$this->renderAuthor(),
$this->renderObject());
}View on GitHub (pinned to 5720a38cfe)