interfaces: drop the `raw` parameters on ifiledata interface
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 26 Sep 2023 01:05:02 +0200
changeset 51021 006aee5ffd35
parent 51020 509f0f7fc89e
child 51022 33d2f0164d0d
interfaces: drop the `raw` parameters on ifiledata interface In practice it was not implemented since forever. The `rawdata` method fit that purpose. The interface checking does not detect that because it seems to confuse the `_df` argument for the `raw` one. Dropping that `_df` argument in a descendant changesets revealed the issue.
mercurial/interfaces/repository.py
--- a/mercurial/interfaces/repository.py	Mon Sep 25 22:51:57 2023 +0200
+++ b/mercurial/interfaces/repository.py	Tue Sep 26 01:05:02 2023 +0200
@@ -684,7 +684,7 @@
         Any metadata is excluded from size measurements.
         """
 
-    def revision(node, raw=False):
+    def revision(node):
         """Obtain fulltext data for a node.
 
         By default, any storage transformations are applied before the data