diff mercurial/localrepo.py @ 47817:2813d406b036 stable 5.9rc1

issue6528: add a config option to control the fixing on the fly This will allow people who know to be safe to avoid any performance overhead (and other potential issue). Differential Revision: https://phab.mercurial-scm.org/D11271
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 07 Aug 2021 16:51:47 +0200
parents e33c6dd346e7
children c094e829e848
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sat Aug 07 14:12:28 2021 +0200
+++ b/mercurial/localrepo.py	Sat Aug 07 16:51:47 2021 +0200
@@ -1043,6 +1043,9 @@
     )
     options[b'deltabothparents'] = deltabothparents
 
+    issue6528 = ui.configbool(b'storage', b'revlog.issue6528.fix-incoming')
+    options[b'issue6528.fix-incoming'] = issue6528
+
     lazydelta = ui.configbool(b'storage', b'revlog.reuse-external-delta')
     lazydeltabase = False
     if lazydelta: