changeset 51024:299b7b5440db

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.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 26 Sep 2023 00:55:49 +0200
parents 14de15825253
children 9011c38b4f65
files mercurial/revlog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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