Mercurial > hg
changeset 51066:b79c73a7afce
revlog: remove legacy usage of `_lazydelta`
All core code is now getting the setting from the DeltaConfig object.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 10 Oct 2023 11:36:55 +0200 |
parents | 14574a41a7a7 |
children | 26dcdbe15024 |
files | mercurial/revlog.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revlog.py Tue Oct 10 11:36:34 2023 +0200 +++ b/mercurial/revlog.py Tue Oct 10 11:36:55 2023 +0200 @@ -3457,7 +3457,7 @@ sidedata=sidedata, ) else: - if destrevlog._lazydelta: + if destrevlog.delta_config.lazy_delta: dp = self.deltaparent(rev) if dp != nullrev: cachedelta = (dp, bytes(self._chunk(rev)))