Mercurial > hg
diff mercurial/filelog.py @ 51023:14de15825253
revlog: drop the df argument to `rawdata`
The intend of this argument is better filled by the `revlog.reading` or
`revlog._writing` context. So we drop it to leave rooms for further cleanup and
improvements.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 26 Sep 2023 00:54:46 +0200 |
parents | 33d2f0164d0d |
children | 493034cc3265 |
line wrap: on
line diff
--- a/mercurial/filelog.py Mon Sep 25 22:52:01 2023 +0200 +++ b/mercurial/filelog.py Tue Sep 26 00:54:46 2023 +0200 @@ -110,8 +110,8 @@ def revision(self, node): return self._revlog.revision(node) - def rawdata(self, node, _df=None): - return self._revlog.rawdata(node, _df=_df) + def rawdata(self, node): + return self._revlog.rawdata(node) def emitrevisions( self,