Mercurial > public > mercurial-scm > hg-stable
diff tests/simplestorerepo.py @ 42992:a04b2c010d03
flagprocessors: make `processflagswrite` a module level function
One more step towards removing the mixin.
Differential Revision: https://phab.mercurial-scm.org/D6818
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 06 Sep 2019 23:50:32 +0200 |
parents | a45d670c2bfc |
children | eb5048f8c533 |
line wrap: on
line diff
--- a/tests/simplestorerepo.py Fri Sep 06 23:43:06 2019 +0200 +++ b/tests/simplestorerepo.py Fri Sep 06 23:50:32 2019 +0200 @@ -457,7 +457,7 @@ if flags: node = node or storageutil.hashrevisionsha1(text, p1, p2) - rawtext, validatehash = self._processflagswrite(text, flags) + rawtext, validatehash = flagutil.processflagswrite(self, text, flags) node = node or storageutil.hashrevisionsha1(text, p1, p2)