Skip to content
Snippets Groups Projects
Commit 7bb5a2465501 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

revlog: add the appropriate flag is sidedata are passed to `addrevision`

If we need to store sidedata, we need the flag to be set and the associated
processing to be called.

Differential Revision: https://phab.mercurial-scm.org/D6894
parent 142deb539ccf
No related branches found
No related tags found
No related merge requests found
......@@ -1865,6 +1865,8 @@
raise error.ProgrammingError(
_("trying to add sidedata to a revlog who don't support them")
)
else:
flags |= REVIDX_SIDEDATA
if flags:
node = node or self.hash(text, p1, p2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment