Mercurial > public > mercurial-scm > hg-stable
diff hgext/sqlitestore.py @ 46725:e8c11a2c96c0
delta: add sidedata field to revision delta
When emitting revision delta, we need to also emit the sidedata information just
added in the revlogv2 format if appropriate.
Differential Revision: https://phab.mercurial-scm.org/D10027
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Thu, 18 Feb 2021 18:18:35 +0100 |
parents | a41565bef69f |
children | 45f0d5297698 |
line wrap: on
line diff
--- a/hgext/sqlitestore.py Thu Feb 18 17:36:52 2021 +0100 +++ b/hgext/sqlitestore.py Thu Feb 18 18:18:35 2021 +0100 @@ -288,6 +288,7 @@ baserevisionsize = attr.ib() revision = attr.ib() delta = attr.ib() + sidedata = attr.ib() linknode = attr.ib(default=None) @@ -908,6 +909,10 @@ def files(self): return [] + def sidedata(self, nodeorrev, _df=None): + # Not supported for now + return {} + def storageinfo( self, exclusivefiles=False,