revlog: drop the df argument to `sidedata`
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 26 Sep 2023 00:55:49 +0200
changeset 51024 299b7b5440db
parent 51023 14de15825253
child 51025 9011c38b4f65
revlog: drop the df argument to `sidedata` 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.
mercurial/revlog.py
--- a/mercurial/revlog.py	Tue Sep 26 00:54:46 2023 +0200
+++ b/mercurial/revlog.py	Tue Sep 26 00:55:49 2023 +0200
@@ -1960,7 +1960,7 @@
         """
         return self._revisiondata(nodeorrev)
 
-    def sidedata(self, nodeorrev, _df=None):
+    def sidedata(self, nodeorrev):
         """a map of extra data related to the changeset but not part of the hash
 
         This function currently return a dictionary. However, more advanced