D6895: sidedata: make sure we don't use the flag if there are not sidedata
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Tue Oct 1 14:24:12 EDT 2019
Closed by commit rHG7902001aaf41: sidedata: make sure we don't use the flag if there are not sidedata (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6895?vs=16740&id=16767
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6895/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6895
AFFECTED FILES
mercurial/revlog.py
CHANGE DETAILS
diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -1861,6 +1861,7 @@
if sidedata is None:
sidedata = {}
+ flags = flags & ~REVIDX_SIDEDATA
elif not self.hassidedata:
raise error.ProgrammingError(
_("trying to add sidedata to a revlog who don't support them")
To: marmoute, durin42, indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list