src/workflow/ArcanistDiffWorkflow.php:966- throw new Exception(pht('Repository API is not supported.')); src/workflow/ArcanistDiffWorkflow.php:967- } src/workflow/ArcanistDiffWorkflow.php:968- src/workflow/ArcanistDiffWorkflow.php:969- if (count($changes) > 250) { src/workflow/ArcanistDiffWorkflow.php:970- $message = pht( src/workflow/ArcanistDiffWorkflow.php:971- 'This diff has a very large number of changes (%s). Differential '. src/workflow/ArcanistDiffWorkflow.php:972- 'works best for changes which will receive detailed human review, '. src/workflow/ArcanistDiffWorkflow.php:973- 'and not as well for large automated changes or bulk checkins. '. src/workflow/ArcanistDiffWorkflow.php:974- 'See %s for information about reviewing big checkins. Continue anyway?', src/workflow/ArcanistDiffWorkflow.php:975- phutil_count($changes), src/workflow/ArcanistDiffWorkflow.php:976- 'https://secure.phabricator.com/book/phabricator/article/'. src/workflow/ArcanistDiffWorkflow.php:977- 'differential_large_changes/'); src/workflow/ArcanistDiffWorkflow.php:978- src/workflow/ArcanistDiffWorkflow.php:979- if (!phutil_console_confirm($message)) { src/workflow/ArcanistDiffWorkflow.php:980- throw new ArcanistUsageException( src/workflow/ArcanistDiffWorkflow.php:981: pht('Aborted generation of gigantic diff.')); src/workflow/ArcanistDiffWorkflow.php:982- } src/workflow/ArcanistDiffWorkflow.php:983- } src/workflow/ArcanistDiffWorkflow.php:1002- if ($repository_api instanceof ArcanistSubversionAPI) { src/workflow/ArcanistDiffWorkflow.php:1003- throw new ArcanistUsageException( src/workflow/ArcanistDiffWorkflow.php:1004- $byte_warning.' '. src/workflow/ArcanistDiffWorkflow.php:1005- pht( src/workflow/ArcanistDiffWorkflow.php:1006- "If the file is not a text file, mark it as binary with:". src/workflow/ArcanistDiffWorkflow.php:1007- "\n\n $ %s\n", src/workflow/ArcanistDiffWorkflow.php:1008- 'svn propset svn:mime-type application/octet-stream ')); src/workflow/ArcanistDiffWorkflow.php:1009- } else { src/workflow/ArcanistDiffWorkflow.php:1010- $confirm = $byte_warning.' '.pht( src/workflow/ArcanistDiffWorkflow.php:1011- "If the file is not a text file, you can mark it 'binary'. ". src/workflow/ArcanistDiffWorkflow.php:1012- "Mark this file as 'binary' and continue?"); src/workflow/ArcanistDiffWorkflow.php:1013- if (phutil_console_confirm($confirm)) { src/workflow/ArcanistDiffWorkflow.php:1014- $change->convertToBinaryChange($repository_api); src/workflow/ArcanistDiffWorkflow.php:1015- } else { src/workflow/ArcanistDiffWorkflow.php:1016- throw new ArcanistUsageException( src/workflow/ArcanistDiffWorkflow.php:1017: pht('Aborted generation of gigantic diff.')); src/workflow/ArcanistDiffWorkflow.php:1018- } src/workflow/ArcanistDiffWorkflow.php:1019- }