Mercurial > public > mercurial-scm > hg-stable
diff mercurial/debugcommands.py @ 51051:f636103c4d67
revlog: remove legacy usage of `_generaldelta`
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 10:56:42 +0200 |
parents | fd6c748eb8a6 |
children | 47d43efda8b7 |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Tue Oct 10 18:02:20 2023 +0200 +++ b/mercurial/debugcommands.py Tue Oct 10 10:56:42 2023 +0200 @@ -805,7 +805,7 @@ index = r.index start = r.start length = r.length - generaldelta = r._generaldelta + generaldelta = r.delta_config.general_delta withsparseread = getattr(r, '_withsparseread', False) # security to avoid crash on corrupted revlogs