mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-23 05:50:54 +01:00
Link docs from message
Test Plan: phutil_console_confirm("See http://www.phabricator.com/docs/phabricator/article/Differential_User_Guide_Large_Changes.html for information"); Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3317
This commit is contained in:
parent
13b64da47a
commit
1779abef6f
1 changed files with 5 additions and 1 deletions
|
@ -849,11 +849,15 @@ EOTEXT
|
|||
|
||||
if (count($changes) > 250) {
|
||||
$count = number_format(count($changes));
|
||||
$link =
|
||||
"http://www.phabricator.com/docs/phabricator/article/".
|
||||
"Differential_User_Guide_Large_Changes.html";
|
||||
$message =
|
||||
"This diff has a very large number of changes ({$count}). ".
|
||||
"Differential works best for changes which will receive detailed ".
|
||||
"human review, and not as well for large automated changes or ".
|
||||
"bulk checkins. Continue anyway?";
|
||||
"bulk checkins. See {$link} for information about reviewing big ".
|
||||
"checkins. Continue anyway?";
|
||||
if (!phutil_console_confirm($message)) {
|
||||
throw new ArcanistUsageException(
|
||||
"Aborted generation of gigantic diff.");
|
||||
|
|
Loading…
Reference in a new issue