# HG changeset patch # User Pierre-Yves David # Date 2019-09-03 21:45:38 # Node ID 7bb5a2465501bfae3ef2702451951b2ddd51411c # Parent 142deb539ccf5bf26ef87a53af8e8c382b10b481 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 diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -1865,6 +1865,8 @@ class revlog(object): 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)