D10563: revlog: replace flag check related to generaldelta with attribute check
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Mon May 3 11:50:49 UTC 2021
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
Same logic as the previous changesets.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D10563
AFFECTED FILES
mercurial/debugcommands.py
CHANGE DETAILS
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -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):
To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list