##// END OF EJS Templates
Make bundlerepo use proper index format for revlogng...
Chris Mason -
r2101:c6c019fd default
parent child Browse files
Show More
@@ -59,7 +59,11 b' class bundlerevlog(revlog.revlog):'
59 if not prev:
59 if not prev:
60 prev = p1
60 prev = p1
61 # start, size, base is not used, link, p1, p2, delta ref
61 # start, size, base is not used, link, p1, p2, delta ref
62 if self.version == 0:
62 e = (start, size, None, link, p1, p2, node)
63 e = (start, size, None, link, p1, p2, node)
64 else:
65 e = (self.offset_type(start, 0), size, -1, None, link,
66 self.rev(p1), self.rev(p2), node)
63 self.basemap[n] = prev
67 self.basemap[n] = prev
64 self.index.append(e)
68 self.index.append(e)
65 self.nodemap[node] = n
69 self.nodemap[node] = n
General Comments 0
You need to be logged in to leave comments. Login now