diff mercurial/unionrepo.py @ 47267:2b69555e4875

revlog: introduce a compression mode for sidedata in the revlog index We will use this for compression for the sidedata payload. Differential Revision: https://phab.mercurial-scm.org/D10653
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 03 May 2021 21:34:02 +0200
parents 130c9f7ed914
children 52034c42c09d
line wrap: on
line diff
--- a/mercurial/unionrepo.py	Mon May 03 21:13:24 2021 +0200
+++ b/mercurial/unionrepo.py	Mon May 03 21:34:02 2021 +0200
@@ -70,6 +70,7 @@
                 _sdo,
                 _sds,
                 _dcm,
+                _sdcm,
             ) = rev
             flags = _start & 0xFFFF
 
@@ -105,6 +106,7 @@
                 0,  # sidedata offset
                 0,  # sidedata size
                 revlog_constants.COMP_MODE_INLINE,
+                revlog_constants.COMP_MODE_INLINE,
             )
             self.index.append(e)
             self.bundlerevs.add(n)