diff mercurial/localrepo.py @ 49227:2bcf5e14bb7e

deltas: add a `debug.revlog.debug-delta` config option enable output This provide a way to enable the code introduced in the previous changeset. This will provide a large amount of output when applying a bundle with details about each delta "computation".
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 19 May 2022 23:39:42 +0100
parents 2ab79873786e
children d44e3c45f0e4
line wrap: on
line diff
--- a/mercurial/localrepo.py	Thu May 19 23:39:23 2022 +0100
+++ b/mercurial/localrepo.py	Thu May 19 23:39:42 2022 +0100
@@ -1070,6 +1070,7 @@
         b'storage', b'revlog.optimize-delta-parent-choice'
     )
     options[b'deltabothparents'] = deltabothparents
+    options[b'debug-delta'] = ui.configbool(b'debug', b'revlog.debug-delta')
 
     issue6528 = ui.configbool(b'storage', b'revlog.issue6528.fix-incoming')
     options[b'issue6528.fix-incoming'] = issue6528