comparison mercurial/manifest.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 152d9c011bcd
comparison
equal deleted inserted replaced
49609:9cac281eb9c0 49610:35d4c2124073
1854 linkmapper, 1854 linkmapper,
1855 transaction, 1855 transaction,
1856 alwayscache=False, 1856 alwayscache=False,
1857 addrevisioncb=None, 1857 addrevisioncb=None,
1858 duplicaterevisioncb=None, 1858 duplicaterevisioncb=None,
1859 debug_info=None,
1859 ): 1860 ):
1860 return self._revlog.addgroup( 1861 return self._revlog.addgroup(
1861 deltas, 1862 deltas,
1862 linkmapper, 1863 linkmapper,
1863 transaction, 1864 transaction,
1864 alwayscache=alwayscache, 1865 alwayscache=alwayscache,
1865 addrevisioncb=addrevisioncb, 1866 addrevisioncb=addrevisioncb,
1866 duplicaterevisioncb=duplicaterevisioncb, 1867 duplicaterevisioncb=duplicaterevisioncb,
1868 debug_info=debug_info,
1867 ) 1869 )
1868 1870
1869 def rawsize(self, rev): 1871 def rawsize(self, rev):
1870 return self._revlog.rawsize(rev) 1872 return self._revlog.rawsize(rev)
1871 1873