Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revlog.py @ 51061:f0756d0636d1
revlog: remove legacy usage of `_compengine`
All core code is now getting the setting from the FeatureConfig object.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 10 Oct 2023 11:12:06 +0200 |
parents | ab2bc31fa91f |
children | 101c30938c0d |
line wrap: on
line diff
--- a/mercurial/revlog.py Wed Oct 11 00:04:23 2023 +0200 +++ b/mercurial/revlog.py Tue Oct 10 11:12:06 2023 +0200 @@ -976,7 +976,7 @@ @util.propertycache def _compressor(self): - engine = util.compengines[self._compengine] + engine = util.compengines[self.feature_config.compression_engine] return engine.revlogcompressor(self._compengineopts) @util.propertycache