[Updated] D11935: changelog-v2: fix an assertion error to display the right data

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Fri Dec 17 14:00:56 UTC 2021


Closed by commit rHGd5137c00ab17: changelog-v2: fix an assertion error to display the right data (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D11935?vs=31501&id=31532

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D11935/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D11935

AFFECTED FILES
  mercurial/revlogutils/constants.py

CHANGE DETAILS

diff --git a/mercurial/revlogutils/constants.py b/mercurial/revlogutils/constants.py
--- a/mercurial/revlogutils/constants.py
+++ b/mercurial/revlogutils/constants.py
@@ -183,7 +183,7 @@
 #  1 bytes: compression mode (2 lower bit are data_compression_mode)
 #  27 bytes: Padding to align to 96 bytes (see RevlogV2Plan wiki page)
 INDEX_ENTRY_CL_V2 = struct.Struct(b">Qiiii20s12xQiB27x")
-assert INDEX_ENTRY_CL_V2.size == 32 * 3, INDEX_ENTRY_V2.size
+assert INDEX_ENTRY_CL_V2.size == 32 * 3, INDEX_ENTRY_CL_V2.size
 INDEX_ENTRY_V2_IDX_OFFSET = 0
 INDEX_ENTRY_V2_IDX_COMPRESSED_LENGTH = 1
 INDEX_ENTRY_V2_IDX_UNCOMPRESSED_LENGTH = 2



To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211217/de3f2528/attachment-0002.html>


More information about the Mercurial-patches mailing list