diff mercurial/revlog.py @ 47157:47ffc754989a

revlog: always "append" full size tuple Same reasoning as the previous patch. Differential Revision: https://phab.mercurial-scm.org/D10569
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 03 May 2021 12:21:25 +0200
parents f58a13c52726
children b6e1fe7ac24b
line wrap: on
line diff
--- a/mercurial/revlog.py	Mon May 03 12:21:15 2021 +0200
+++ b/mercurial/revlog.py	Mon May 03 12:21:25 2021 +0200
@@ -2268,9 +2268,6 @@
             len(serialized_sidedata),
         )
 
-        if self._format_version != REVLOGV2:
-            e = e[:8]
-
         self.index.append(e)
         entry = self.index.entry_binary(curr)
         if curr == 0: