Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revlog.py @ 47227:2bd4b5218918
revlog: pass a transaction object to `rewrite_sidedata`
The `_writing` context need one, so we update the function signature before considering using `_writing` in rewrite_sidedata.
Differential Revision: https://phab.mercurial-scm.org/D10607
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 03 May 2021 12:28:05 +0200 |
parents | 042388bba644 |
children | 8f6165c90163 |
line wrap: on
line diff
--- a/mercurial/revlog.py Mon May 03 12:27:53 2021 +0200 +++ b/mercurial/revlog.py Mon May 03 12:28:05 2021 +0200 @@ -3120,7 +3120,7 @@ return d - def rewrite_sidedata(self, helpers, startrev, endrev): + def rewrite_sidedata(self, transaction, helpers, startrev, endrev): if not self.hassidedata: return # inline are not yet supported because they suffer from an issue when