Mercurial > hg
diff tests/simplestorerepo.py @ 42983:a45d670c2bfc
flagprocessors: return sidedata map in `_processflagsread`
Right now, flag processors does not return sidedata, by they will. So, we
prepare the caller to receive it.
Differential Revision: https://phab.mercurial-scm.org/D6811
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 03 Sep 2019 22:55:04 +0200 |
parents | 38c62272f462 |
children | a04b2c010d03 |
line wrap: on
line diff
--- a/tests/simplestorerepo.py Tue Sep 03 22:36:41 2019 +0200 +++ b/tests/simplestorerepo.py Tue Sep 03 22:55:04 2019 +0200 @@ -294,7 +294,8 @@ validatehash = self._processflagsraw(rawtext, flags) text = rawtext else: - text, validatehash = self._processflagsread(rawtext, flags) + r = self._processflagsread(rawtext, flags) + text, validatehash, sidedata = r if validatehash: self.checkhash(text, node, rev=rev)