##// END OF EJS Templates
revlog: use the new `entry` function in revlog.py...
marmoute -
r48188:8230f020 default
parent child Browse files
Show More
@@ -2584,19 +2584,20 b' class revlog(object):'
2584 2584 # than ones we manually add.
2585 2585 sidedata_offset = 0
2586 2586
2587 e = (
2588 revlogutils.offset_type(offset, flags),
2589 deltainfo.deltalen,
2590 textlen,
2591 deltainfo.base,
2592 link,
2593 p1r,
2594 p2r,
2595 node,
2596 sidedata_offset,
2597 len(serialized_sidedata),
2598 compression_mode,
2599 sidedata_compression_mode,
2587 e = revlogutils.entry(
2588 flags=flags,
2589 data_offset=offset,
2590 data_compressed_length=deltainfo.deltalen,
2591 data_uncompressed_length=textlen,
2592 data_compression_mode=compression_mode,
2593 data_delta_base=deltainfo.base,
2594 link_rev=link,
2595 parent_rev_1=p1r,
2596 parent_rev_2=p2r,
2597 node_id=node,
2598 sidedata_offset=sidedata_offset,
2599 sidedata_compressed_length=len(serialized_sidedata),
2600 sidedata_compression_mode=sidedata_compression_mode,
2600 2601 )
2601 2602
2602 2603 self.index.append(e)
General Comments 0
You need to be logged in to leave comments. Login now