diff mercurial/configitems.py @ 49609:9cac281eb9c0

debug: add an option to display statistic about a bundling operation This will helps a lot to understand how the bundling decision might impact pull/unbundle on the other side.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 15 Nov 2022 16:25:23 +0100
parents 53e4f44ba0e8
children 35d4c2124073
line wrap: on
line diff
--- a/mercurial/configitems.py	Tue Nov 15 18:08:56 2022 +0100
+++ b/mercurial/configitems.py	Tue Nov 15 16:25:23 2022 +0100
@@ -588,6 +588,12 @@
     b'revlog.debug-delta',
     default=False,
 )
+# display extra information about the bundling process
+coreconfigitem(
+    b'debug',
+    b'bundling-stats',
+    default=False,
+)
 coreconfigitem(
     b'defaults',
     b'.*',