changeset 48498:d5137c00ab17

changelog-v2: fix an assertion error to display the right data We were checking on thing and displaying the other. Differential Revision: https://phab.mercurial-scm.org/D11935
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 15 Dec 2021 14:50:07 +0100
parents 2c6084f67a86
children 52034c42c09d
files mercurial/revlogutils/constants.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revlogutils/constants.py	Tue Dec 14 19:24:24 2021 +0100
+++ b/mercurial/revlogutils/constants.py	Wed Dec 15 14:50:07 2021 +0100
@@ -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