diff mercurial/revlog.py @ 49610:35d4c2124073

debug: add an option to display statistic about a unbundling operation This will helps a lot to understand how the bundling decision have actually impacted pull/unbundle on the other side.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 17 Oct 2022 22:19:43 +0200
parents 9cac281eb9c0
children f5f113f1b011
line wrap: on
line diff
--- a/mercurial/revlog.py	Tue Nov 15 16:25:23 2022 +0100
+++ b/mercurial/revlog.py	Mon Oct 17 22:19:43 2022 +0200
@@ -2640,6 +2640,7 @@
         alwayscache=False,
         addrevisioncb=None,
         duplicaterevisioncb=None,
+        debug_info=None,
     ):
         """
         add a delta group
@@ -2665,6 +2666,7 @@
                 deltacomputer = deltautil.deltacomputer(
                     self,
                     write_debug=write_debug,
+                    debug_info=debug_info,
                 )
                 # loop through our set of deltas
                 for data in deltas: