Mercurial > hg
diff mercurial/revlog.py @ 42990: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 | f4caf910669e |
children | eb5048f8c533 |
line wrap: on
line diff
--- a/mercurial/revlog.py Fri Sep 06 23:43:06 2019 +0200 +++ b/mercurial/revlog.py Fri Sep 06 23:50:32 2019 +0200 @@ -1842,8 +1842,8 @@ if flags: node = node or self.hash(text, p1, p2) - rawtext, validatehash = self._processflagswrite(text, flags, - sidedata=sidedata) + rawtext, validatehash = flagutil.processflagswrite(self, text, flags, + sidedata=sidedata) # If the flag processor modifies the revision data, ignore any provided # cachedelta.