Mercurial > hg
diff hgext/remotefilelog/remotefilelog.py @ 42987:36a0a1951d64
flagprocessors: add a `sidedata` parameters to _processflagswrite
To read sidedata using flagprocessors, we need flag processors to store them. So
we pass this information to the flag processing layer.
Differential Revision: https://phab.mercurial-scm.org/D6815
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 03 Sep 2019 23:51:17 +0200 |
parents | 33532939c667 |
children | a04b2c010d03 |
line wrap: on
line diff
--- a/hgext/remotefilelog/remotefilelog.py Tue Sep 03 23:51:34 2019 +0200 +++ b/hgext/remotefilelog/remotefilelog.py Tue Sep 03 23:51:17 2019 +0200 @@ -138,7 +138,8 @@ sidedata = {} meta, metaoffset = storageutil.parsemeta(text) - rawtext, validatehash = self._processflagswrite(text, flags) + rawtext, validatehash = self._processflagswrite(text, flags, + sidedata=sidedata) return self.addrawrevision(rawtext, transaction, linknode, p1, p2, node, flags, cachedelta, _metatuple=(meta, metaoffset))