diff mercurial/interfaces/repository.py @ 51023:14de15825253

revlog: drop the df argument to `rawdata` 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:54:46 +0200
parents 33d2f0164d0d
children 861fe9273d57
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py	Mon Sep 25 22:52:01 2023 +0200
+++ b/mercurial/interfaces/repository.py	Tue Sep 26 00:54:46 2023 +0200
@@ -1285,7 +1285,7 @@
     def revision(node):
         """Obtain fulltext data for a node."""
 
-    def rawdata(node, _df=None):
+    def rawdata(node):
         """Obtain raw data for a node."""
 
     def revdiff(rev1, rev2):