diff mercurial/changelog.py @ 51029:498afb627f78

revlog: move configuration attribute into dedicated object First this make things clearer as the number of configuration attributes has grown out of control, so gathering them make things clearer. Second, this will make future sharing them at different level simpler. Third it will allow us to make initialisation and temporary override simpler soon.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 10 Oct 2023 10:02:05 +0200
parents c690d2cc7f36
children c3748f38dcd0
line wrap: on
line diff
--- a/mercurial/changelog.py	Tue Oct 10 10:01:57 2023 +0200
+++ b/mercurial/changelog.py	Tue Oct 10 10:02:05 2023 +0200
@@ -416,7 +416,7 @@
             # changelogs don't benefit from generaldelta.
 
             self._format_flags &= ~revlog.FLAG_GENERALDELTA
-            self._generaldelta = False
+            self.delta_config.general_delta = False
 
         # Delta chains for changelogs tend to be very small because entries
         # tend to be small and don't delta well with each. So disable delta