revlog: replace flag check related to generaldelta with attribute check
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 03 May 2021 12:20:25 +0200
changeset 47137 c261899fb282
parent 47136 84b176ad2860
child 47138 bc138f2a2e47
revlog: replace flag check related to generaldelta with attribute check Same logic as the previous changesets. Differential Revision: https://phab.mercurial-scm.org/D10563
mercurial/debugcommands.py
--- a/mercurial/debugcommands.py	Mon May 03 12:19:09 2021 +0200
+++ b/mercurial/debugcommands.py	Mon May 03 12:20:25 2021 +0200
@@ -793,7 +793,7 @@
     index = r.index
     start = r.start
     length = r.length
-    generaldelta = r.version & revlog.FLAG_GENERALDELTA
+    generaldelta = r._generaldelta
     withsparseread = getattr(r, '_withsparseread', False)
 
     def revinfo(rev):