changeset 31296:16539e32ebe0

help: fix layout of pre-formatted text
author Yuya Nishihara <yuya@tcha.org>
date Thu, 09 Mar 2017 12:55:48 +0900
parents f8df87018ae9
children 198cd5ad9db8
files mercurial/help/internals/changegroups.txt tests/test-help.t
diffstat 2 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help/internals/changegroups.txt	Thu Mar 09 11:01:03 2017 +0900
+++ b/mercurial/help/internals/changegroups.txt	Thu Mar 09 12:55:48 2017 +0900
@@ -108,7 +108,7 @@
 series of *delta*s, densely packed (no separators). These deltas describe a diff
 from an existing entry (either that the recipient already has, or previously
 specified in the bundle/changegroup). The format is described more fully in
-``hg help internals.bdiff``, but briefly:
+``hg help internals.bdiff``, but briefly::
 
    +---------------------------------------------------------------+
    |              |            |            |                      |
--- a/tests/test-help.t	Thu Mar 09 11:01:03 2017 +0900
+++ b/tests/test-help.t	Thu Mar 09 12:55:48 2017 +0900
@@ -1063,12 +1063,12 @@
       has, or previously specified in the bundle/changegroup). The format is
       described more fully in "hg help internals.bdiff", but briefly:
   
-         +---------------------------------------------------------------+ |
-         |            |            |                      | | start offset | end
-         offset | new length |        content       | |  (4 bytes)   |  (4
-         bytes) |  (4 bytes) | (<new length> bytes) | |              |
-         |            |                      |
-         +---------------------------------------------------------------+
+        +---------------------------------------------------------------+
+        |              |            |            |                      |
+        | start offset | end offset | new length |        content       |
+        |  (4 bytes)   |  (4 bytes) |  (4 bytes) | (<new length> bytes) |
+        |              |            |            |                      |
+        +---------------------------------------------------------------+
   
       Please note that the length field in the delta data does *not* include
       itself.
@@ -3199,14 +3199,14 @@
   specified in the bundle/changegroup). The format is described more fully in
   &quot;hg help internals.bdiff&quot;, but briefly:
   </p>
-  <p>
+  <pre>
   +---------------------------------------------------------------+
   |              |            |            |                      |
   | start offset | end offset | new length |        content       |
   |  (4 bytes)   |  (4 bytes) |  (4 bytes) | (&lt;new length&gt; bytes) |
   |              |            |            |                      |
   +---------------------------------------------------------------+
-  </p>
+  </pre>
   <p>
   Please note that the length field in the delta data does *not* include itself.
   </p>