mercurial/debugcommands.py
changeset 39330 655b5b465953
parent 39282 828a45233036
child 39378 0f549da54379
--- a/mercurial/debugcommands.py	Thu Aug 16 02:08:13 2018 +0200
+++ b/mercurial/debugcommands.py	Thu Aug 16 02:53:42 2018 +0200
@@ -88,6 +88,10 @@
     stringutil,
 )
 
+from .revlogutils import (
+    deltas as deltautil
+)
+
 release = lockmod.release
 
 command = registrar.command()
@@ -706,7 +710,7 @@
             largestblock = 0
             srchunks = 0
 
-            for revschunk in revlog._slicechunk(r, chain):
+            for revschunk in deltautil.slicechunk(r, chain):
                 srchunks += 1
                 blkend = start(revschunk[-1]) + length(revschunk[-1])
                 blksize = blkend - start(revschunk[0])