]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Link docs from message
authorvrana <jakubv@fb.com>
Thu, 16 Aug 2012 21:27:35 +0000 (14:27 -0700)
committervrana <jakubv@fb.com>
Thu, 16 Aug 2012 21:29:37 +0000 (14:29 -0700)
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

src/workflow/ArcanistDiffWorkflow.php

index 7b92cd37a1bb614b5036c7cdda49c0723db4ac6f..7d9f292a1e372bd7963078021a62eb7f1fc4ee2d 100644 (file)
@@ -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.");