diff mercurial/revlogutils/rewrite.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 509f0f7fc89e
children f636103c4d67
line wrap: on
line diff
--- a/mercurial/revlogutils/rewrite.py	Tue Oct 10 10:01:57 2023 +0200
+++ b/mercurial/revlogutils/rewrite.py	Tue Oct 10 10:02:05 2023 +0200
@@ -75,7 +75,7 @@
     )
     newrl._format_version = rl._format_version
     newrl._format_flags = rl._format_flags
-    newrl._generaldelta = rl._generaldelta
+    newrl.delta_config.general_delta = rl._generaldelta
     newrl._parse_index = rl._parse_index
 
     for rev in rl.revs():