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