[Commented On] D10794: revlog: use the new `entry` function in revlog.py
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Wed Jun 2 11:44:44 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 28419.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10794?vs=28404&id=28419
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10794/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10794
AFFECTED FILES
mercurial/revlog.py
CHANGE DETAILS
diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -2584,19 +2584,20 @@
# than ones we manually add.
sidedata_offset = 0
- e = (
- revlogutils.offset_type(offset, flags),
- deltainfo.deltalen,
- textlen,
- deltainfo.base,
- link,
- p1r,
- p2r,
- node,
- sidedata_offset,
- len(serialized_sidedata),
- compression_mode,
- sidedata_compression_mode,
+ e = revlogutils.entry(
+ flags=flags,
+ data_offset=offset,
+ data_compressed_length=deltainfo.deltalen,
+ data_uncompressed_length=textlen,
+ data_compression_mode=compression_mode,
+ data_delta_base=deltainfo.base,
+ link_rev=link,
+ parent_rev_1=p1r,
+ parent_rev_2=p2r,
+ node_id=node,
+ sidedata_offset=sidedata_offset,
+ sidedata_compressed_length=len(serialized_sidedata),
+ sidedata_compression_mode=sidedata_compression_mode,
)
self.index.append(e)
To: marmoute, indygreg, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210602/650fda51/attachment-0002.html>
More information about the Mercurial-patches
mailing list