mercurial/debugcommands.py
changeset 32229 75e93d95aae6
parent 32209 85dc5a25f1fc
child 32256 9bc36198338e
--- a/mercurial/debugcommands.py	Sat May 06 12:02:31 2017 -0700
+++ b/mercurial/debugcommands.py	Sat May 06 12:12:53 2017 -0700
@@ -1707,9 +1707,9 @@
                 numother += 1
 
         # Obtain data on the raw chunks in the revlog.
-        chunk = r._chunkraw(rev, rev)[1]
-        if chunk:
-            chunktype = chunk[0]
+        segment = r._getsegmentforrevs(rev, rev)[1]
+        if segment:
+            chunktype = segment[0]
         else:
             chunktype = 'empty'