diff mercurial/bundlerepo.py @ 47249:130c9f7ed914

revlog: add a "data compression mode" entry in the index tuple That will make it possible to keep track of compression information in the revlog index, opening the way to more efficient revision restoration (in native code, but the python usage is already defeating performance work). We start with adding a new entry to the index tuple, using a value matching the current behavior. We will introduce storage and other value in later changesets. Differential Revision: https://phab.mercurial-scm.org/D10646
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 03 May 2021 18:19:16 +0200
parents 96ee8ca99f5a
children 2b69555e4875
line wrap: on
line diff
--- a/mercurial/bundlerepo.py	Tue May 04 01:15:03 2021 +0200
+++ b/mercurial/bundlerepo.py	Mon May 03 18:19:16 2021 +0200
@@ -105,6 +105,7 @@
                 node,
                 0,
                 0,
+                revlog_constants.COMP_MODE_INLINE,
             )
             self.index.append(e)
             self.bundlerevs.add(n)