Mercurial > hg
diff mercurial/interfaces/repository.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 | 006aee5ffd35 |
children | 14de15825253 |
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py Tue Sep 26 01:05:02 2023 +0200 +++ b/mercurial/interfaces/repository.py Mon Sep 25 22:52:01 2023 +0200 @@ -1282,7 +1282,7 @@ def linkrev(rev): """Obtain the changeset revision number a revision is linked to.""" - def revision(node, _df=None): + def revision(node): """Obtain fulltext data for a node.""" def rawdata(node, _df=None):