Mercurial > public > mercurial-scm > hg-stable
diff mercurial/debugcommands.py @ 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 | bea4717415c0 |
children | f58a13c52726 |
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):