# HG changeset patch # User Yuya Nishihara # Date 1489031748 -32400 # Node ID 16539e32ebe074a120218067592b304684abbd7f # Parent f8df87018ae9039de19eaadc2ea10017a9311276 help: fix layout of pre-formatted text diff -r f8df87018ae9 -r 16539e32ebe0 mercurial/help/internals/changegroups.txt --- 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:: +---------------------------------------------------------------+ | | | | | diff -r f8df87018ae9 -r 16539e32ebe0 tests/test-help.t --- 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) | ( bytes) | | | - | | | - +---------------------------------------------------------------+ + +---------------------------------------------------------------+ + | | | | | + | start offset | end offset | new length | content | + | (4 bytes) | (4 bytes) | (4 bytes) | ( 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 "hg help internals.bdiff", but briefly:

-

+

   +---------------------------------------------------------------+
   |              |            |            |                      |
   | 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.