equal
deleted
inserted
replaced
256 # for its delta. We need a need new deltas |
256 # for its delta. We need a need new deltas |
257 if entry[ENTRY_DATA_UNCOMPRESSED_LENGTH] == 0: |
257 if entry[ENTRY_DATA_UNCOMPRESSED_LENGTH] == 0: |
258 # this revision is empty, we can delta against nullrev |
258 # this revision is empty, we can delta against nullrev |
259 rewritten_entries[rev] = (nullrev, 0, 0, COMP_MODE_PLAIN) |
259 rewritten_entries[rev] = (nullrev, 0, 0, COMP_MODE_PLAIN) |
260 else: |
260 else: |
261 |
|
262 text = revlog.rawdata(rev) |
261 text = revlog.rawdata(rev) |
263 info = revlogutils.revisioninfo( |
262 info = revlogutils.revisioninfo( |
264 node=entry[ENTRY_NODE_ID], |
263 node=entry[ENTRY_NODE_ID], |
265 p1=revlog.node(entry[ENTRY_PARENT_1]), |
264 p1=revlog.node(entry[ENTRY_PARENT_1]), |
266 p2=revlog.node(entry[ENTRY_PARENT_2]), |
265 p2=revlog.node(entry[ENTRY_PARENT_2]), |