comparison 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
comparison
equal deleted inserted replaced
42982:9d62f9fa332f 42983:a45d670c2bfc
292 292
293 if raw: 293 if raw:
294 validatehash = self._processflagsraw(rawtext, flags) 294 validatehash = self._processflagsraw(rawtext, flags)
295 text = rawtext 295 text = rawtext
296 else: 296 else:
297 text, validatehash = self._processflagsread(rawtext, flags) 297 r = self._processflagsread(rawtext, flags)
298 text, validatehash, sidedata = r
298 if validatehash: 299 if validatehash:
299 self.checkhash(text, node, rev=rev) 300 self.checkhash(text, node, rev=rev)
300 301
301 return text 302 return text
302 303