[Commented On] D10647: revlog: use `format_version` to dispatch different version in index_get
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Wed May 5 21:50:49 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 27584.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10647?vs=27555&id=27584
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10647/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10647
AFFECTED FILES
mercurial/cext/revlog.c
CHANGE DETAILS
diff --git a/mercurial/cext/revlog.c b/mercurial/cext/revlog.c
--- a/mercurial/cext/revlog.c
+++ b/mercurial/cext/revlog.c
@@ -335,7 +335,7 @@
parent_2 = getbe32(data + 28);
c_node_id = data + 32;
- if (self->entry_size == v1_entry_size) {
+ if (self->format_version == format_v1) {
sidedata_offset = 0;
sidedata_comp_len = 0;
} else {
To: marmoute, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210505/550086e2/attachment-0002.html>
More information about the Mercurial-patches
mailing list