##// END OF EJS Templates
revlog: don't silently discard revlog flags on revlogv0
Benoit Boissinot -
r10395:ea52a2d4 default
parent child Browse files
Show More
@@ -343,6 +343,8 b' class revlogoldio(object):'
343 return index, nodemap, None
343 return index, nodemap, None
344
344
345 def packentry(self, entry, node, version, rev):
345 def packentry(self, entry, node, version, rev):
346 if gettype(entry[0]):
347 raise RevlogError(_("index entry flags need RevlogNG"))
346 e2 = (getoffset(entry[0]), entry[1], entry[3], entry[4],
348 e2 = (getoffset(entry[0]), entry[1], entry[3], entry[4],
347 node(entry[5]), node(entry[6]), entry[7])
349 node(entry[5]), node(entry[6]), entry[7])
348 return _pack(indexformatv0, *e2)
350 return _pack(indexformatv0, *e2)
General Comments 0
You need to be logged in to leave comments. Login now