Mercurial > hg-stable
changeset 47151:c261899fb282
revlog: replace flag check related to generaldelta with attribute check
Same logic as the previous changesets.
Differential Revision: https://phab.mercurial-scm.org/D10563
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 03 May 2021 12:20:25 +0200 |
parents | 84b176ad2860 |
children | bc138f2a2e47 |
files | mercurial/debugcommands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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):