mercurial/debugcommands.py
changeset 41959 e3307243d188
parent 41958 1fe278aa4ad5
child 41964 d121823072b8
--- a/mercurial/debugcommands.py	Fri Mar 15 13:52:56 2019 +0000
+++ b/mercurial/debugcommands.py	Fri Mar 15 13:52:36 2019 +0000
@@ -1503,7 +1503,7 @@
         totalsize = 0
         for nodeid in cache:
             # Use cache.get to not update the LRU order
-            data = cache.get(nodeid)
+            data = cache.peek(nodeid)
             size = len(data)
             totalsize += size + 24   # 20 bytes nodeid, 4 bytes size
             ui.write(_('id: %s, size %s\n') % (