Mercurial > hg
diff mercurial/filelog.py @ 51022:33d2f0164d0d
revlog: drop the df argument to `revision`
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 | Mon, 25 Sep 2023 22:52:01 +0200 |
parents | 32837c7e2e4b |
children | 14de15825253 |
line wrap: on
line diff
--- a/mercurial/filelog.py Tue Sep 26 01:05:02 2023 +0200 +++ b/mercurial/filelog.py Mon Sep 25 22:52:01 2023 +0200 @@ -107,8 +107,8 @@ def iscensored(self, rev): return self._revlog.iscensored(rev) - def revision(self, node, _df=None): - return self._revlog.revision(node, _df=_df) + def revision(self, node): + return self._revlog.revision(node) def rawdata(self, node, _df=None): return self._revlog.rawdata(node, _df=_df)