diff mercurial/configitems.py @ 41819:688fc33e105d

storage: introduce a `revlog.reuse-external-delta` config This option goes a bit further and provides a way to get the same behavior as the `re-delta-all` optimisation from `hg debugupgraderepo`. The effect of the option is a bit hard to test as we do not have multiple diff algorithm at hand. However, we at least make sure the code path run.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 27 Feb 2019 12:40:18 +0100
parents f6eff9e4de80
children d6569f1e9b37
line wrap: on
line diff
--- a/mercurial/configitems.py	Wed Feb 27 10:49:25 2019 +0100
+++ b/mercurial/configitems.py	Wed Feb 27 12:40:18 2019 +0100
@@ -983,6 +983,9 @@
     default=True,
     alias=[('format', 'aggressivemergedeltas')],
 )
+coreconfigitem('storage', 'revlog.reuse-external-delta',
+    default=True,
+)
 coreconfigitem('storage', 'revlog.reuse-external-delta-parent',
     default=None,
 )