comparison mercurial/policy.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 12450fbea288
children 9d1a8829f959
comparison
equal deleted inserted replaced
47248:013c645dd28c 47249:130c9f7ed914
78 _cextversions = { 78 _cextversions = {
79 ('cext', 'base85'): 1, 79 ('cext', 'base85'): 1,
80 ('cext', 'bdiff'): 3, 80 ('cext', 'bdiff'): 3,
81 ('cext', 'mpatch'): 1, 81 ('cext', 'mpatch'): 1,
82 ('cext', 'osutil'): 4, 82 ('cext', 'osutil'): 4,
83 ('cext', 'parsers'): 18, 83 ('cext', 'parsers'): 19,
84 } 84 }
85 85
86 # map import request to other package or module 86 # map import request to other package or module
87 _modredirects = { 87 _modredirects = {
88 ('cext', 'charencode'): ('cext', 'parsers'), 88 ('cext', 'charencode'): ('cext', 'parsers'),