# HG changeset patch # User Pierre-Yves David # Date 2023-09-25 22:55:49 # Node ID 299b7b5440db81088d8da07ac164a031b38b676d # Parent 14de1582525381574da049d25a291d4ab3980df3 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. diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -1960,7 +1960,7 @@ class revlog: """ 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