diff mercurial/revlog.py @ 49738: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 92892dff03f3
children 35d4c2124073
line wrap: on
line diff
--- a/mercurial/revlog.py	Tue Nov 15 18:08:56 2022 +0100
+++ b/mercurial/revlog.py	Tue Nov 15 16:25:23 2022 +0100
@@ -2889,6 +2889,7 @@
         assumehaveparentrevisions=False,
         deltamode=repository.CG_DELTAMODE_STD,
         sidedata_helpers=None,
+        debug_info=None,
     ):
         if nodesorder not in (b'nodes', b'storage', b'linear', None):
             raise error.ProgrammingError(
@@ -2918,6 +2919,7 @@
             revisiondata=revisiondata,
             assumehaveparentrevisions=assumehaveparentrevisions,
             sidedata_helpers=sidedata_helpers,
+            debug_info=debug_info,
         )
 
     DELTAREUSEALWAYS = b'always'