{"record":{"id":"eb6ee5c4a72640c0","repo":"phacility/phabricator","slug":"the-raw-text-of-this-change-s-is-enormous-la","errorCode":null,"errorMessage":"The raw text of this change (\"%s\") is enormous (larger than %s bytes).","messagePattern":"The raw text of this change \\(\"(.+?)\"\\) is enormous \\(larger than (.+?) bytes\\)\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/diffusion/engine/DiffusionCommitHookEngine.php","lineNumber":1229,"sourceCode":"\n        // For subversion, we need to use `svnlook`.\n        $future = new ExecFuture(\n          'svnlook diff -t %s %s',\n          $this->subversionTransaction,\n          $this->subversionRepository);\n\n        $future->setTimeout($time_limit);\n        $future->setStdoutSizeLimit($byte_limit);\n        $future->setStderrSizeLimit($byte_limit);\n\n        list($raw_diff) = $future->resolvex();\n        break;\n      default:\n        throw new Exception(pht(\"Unknown VCS '%s!'\", $vcs));\n    }\n\n    if (strlen($raw_diff) >= $byte_limit) {\n      throw new Exception(\n        pht(\n          'The raw text of this change (\"%s\") is enormous (larger than %s '.\n          'bytes).',\n          $identifier,\n          new PhutilNumber($byte_limit)));\n    }\n\n    if (!strlen($raw_diff)) {\n      // If the commit is actually empty, just return no changesets.\n      return array(array(), 0);\n    }\n\n    $parser = new ArcanistDiffParser();\n    $changes = $parser->parseDiff($raw_diff);\n    $diff = DifferentialDiff::newEphemeralFromRawChanges(\n      $changes);\n\n    $changesets = $diff->getChangesets();","sourceCodeStart":1211,"sourceCodeEnd":1247,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/diffusion/engine/DiffusionCommitHookEngine.php#L1211-L1247","documentation":"Error \"The raw text of this change (\"%s\") is enormous (larger than %s bytes).\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/diffusion/engine/DiffusionCommitHookEngine.php:1229 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"}