##// END OF EJS Templates
revlog: use the `entry` function in bundlerepo...
marmoute -
r48190:53289d02 default
parent child Browse files
Show More
@@ -95,19 +95,15 b' class bundlerevlog(revlog.revlog):'
95 95
96 96 baserev = self.rev(deltabase)
97 97 # start, size, full unc. size, base (unused), link, p1, p2, node, sidedata_offset (unused), sidedata_size (unused)
98 e = (
99 revlogutils.offset_type(start, flags),
100 size,
101 -1,
102 baserev,
103 linkrev,
104 self.rev(p1),
105 self.rev(p2),
106 node,
107 0,
108 0,
109 revlog_constants.COMP_MODE_INLINE,
110 revlog_constants.COMP_MODE_INLINE,
98 e = revlogutils.entry(
99 flags=flags,
100 data_offset=start,
101 data_compressed_length=size,
102 data_delta_base=baserev,
103 link_rev=linkrev,
104 parent_rev_1=self.rev(p1),
105 parent_rev_2=self.rev(p2),
106 node_id=node,
111 107 )
112 108 self.index.append(e)
113 109 self.bundlerevs.add(n)
General Comments 0
You need to be logged in to leave comments. Login now