comparison mercurial/bundle2.py @ 25507:5bee483705e8

bundle2: clarify in docstring that header size is for a single header The docstring for the header size field currently says "The total number of Bytes used by the part headers", but the size is about a single header, so let's change it to "header".
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 10 Jun 2015 14:49:27 -0700
parents 86472038dfd2
children ca656f3dffd7
comparison
equal deleted inserted replaced
25506:86472038dfd2 25507:5bee483705e8
64 64
65 Binary format is as follow 65 Binary format is as follow
66 66
67 :header size: int32 67 :header size: int32
68 68
69 The total number of Bytes used by the part headers. When the header is empty 69 The total number of Bytes used by the part header. When the header is empty
70 (size = 0) this is interpreted as the end of stream marker. 70 (size = 0) this is interpreted as the end of stream marker.
71 71
72 :header: 72 :header:
73 73
74 The header defines how to interpret the part. It contains two piece of 74 The header defines how to interpret the part. It contains two piece of