mercurial/debugcommands.py
changeset 51059 47d43efda8b7
parent 51046 f636103c4d67
child 51070 d7f975e49f20
--- a/mercurial/debugcommands.py	Tue Oct 10 11:16:07 2023 +0200
+++ b/mercurial/debugcommands.py	Tue Oct 10 11:24:37 2023 +0200
@@ -806,7 +806,7 @@
     start = r.start
     length = r.length
     generaldelta = r.delta_config.general_delta
-    withsparseread = getattr(r, '_withsparseread', False)
+    withsparseread = r.data_config.with_sparse_read
 
     # security to avoid crash on corrupted revlogs
     total_revs = len(index)