phacility/phabricator · error · DiffusionCommitHookRejectException
ENORMOUS CHANGE Enormous change protection is enabled for th
Error message
ENORMOUS CHANGE
Enormous change protection is enabled for this repository, but you are pushing an enormous change ("%s"). Edit the repository configuration before making enormous changes.
Content Exception: %s What it means
Error "ENORMOUS CHANGE Enormous change protection is enabled for this repository, but you are pushing an enormous change ("%s"). Edit the repository configuration before making enormous changes. Content Exception: %s" thrown in phacility/phabricator.
Source
Thrown at src/applications/diffusion/engine/DiffusionCommitHookEngine.php:1179
if ($this->changesetsSize + $size <= $cache_limit) {
$this->changesets[$identifier] = $changesets;
$this->changesetsSize += $size;
}
} catch (Exception $ex) {
$this->changesets[$identifier] = $ex;
$message = pht(
'ENORMOUS CHANGE'.
"\n".
'Enormous change protection is enabled for this repository, but '.
'you are pushing an enormous change ("%s"). Edit the repository '.
'configuration before making enormous changes.'.
"\n\n".
"Content Exception: %s",
$identifier,
$ex->getMessage());
throw new DiffusionCommitHookRejectException($message);
}
}
}
private function loadChangesetsForCommit($identifier) {
$byte_limit = HeraldCommitAdapter::getEnormousByteLimit();
$time_limit = HeraldCommitAdapter::getEnormousTimeLimit();
$vcs = $this->getRepository()->getVersionControlSystem();
switch ($vcs) {
case PhabricatorRepositoryType::REPOSITORY_TYPE_GIT:
case PhabricatorRepositoryType::REPOSITORY_TYPE_MERCURIAL:
// For git and hg, we can use normal commands.
$drequest = DiffusionRequest::newFromDictionary(
array(
'repository' => $this->getRepository(),
'user' => $this->getViewer(),
'commit' => $identifier,View on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/diffusion/engine/DiffusionCommitHookEngine.php:1179 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/ab670c6b4a9e3534.
Report an issue: GitHub.