Show More
@@ -60,23 +60,23 b' 2-15' | |||
|
60 | 60 | The following header values are common: |
|
61 | 61 | |
|
62 | 62 | 00 00 00 01 |
|
63 | RevlogNG | |
|
63 | v1 | |
|
64 | 64 | 00 01 00 01 |
|
65 |
|
|
|
65 | v1 + inline | |
|
66 | 66 | 00 02 00 01 |
|
67 |
|
|
|
67 | v1 + generaldelta | |
|
68 | 68 | 00 03 00 01 |
|
69 |
|
|
|
69 | v1 + inline + generaldelta | |
|
70 | 70 | |
|
71 | 71 | Following the 32-bit header is the remainder of the first index entry. |
|
72 | 72 | Following that are remaining *index* data. Inlined revision data is |
|
73 | 73 | possibly located between index entries. More on this layout is described |
|
74 | 74 | below. |
|
75 | 75 | |
|
76 | RevlogNG Format | |
|
77 | =============== | |
|
76 | Version 1 Format | |
|
77 | ================ | |
|
78 | 78 | |
|
79 |
|
|
|
79 | Version 1 (RevlogNG) begins with an index describing the revisions in | |
|
80 | 80 | the revlog. If the ``inline`` flag is set, revision data is stored inline, |
|
81 | 81 | or between index entries (as opposed to in a separate container). |
|
82 | 82 |
@@ -189,7 +189,7 b' class revlogoldio(object):' | |||
|
189 | 189 | |
|
190 | 190 | def packentry(self, entry, node, version, rev): |
|
191 | 191 | if gettype(entry[0]): |
|
192 |
raise RevlogError(_( |
|
|
192 | raise RevlogError(_('index entry flags need revlog version 1')) | |
|
193 | 193 | e2 = (getoffset(entry[0]), entry[1], entry[3], entry[4], |
|
194 | 194 | node(entry[5]), node(entry[6]), entry[7]) |
|
195 | 195 | return _pack(indexformatv0, *e2) |
General Comments 0
You need to be logged in to leave comments.
Login now