# HG changeset patch # User Pierre-Yves David # Date 1695683102 -7200 # Node ID 006aee5ffd35197cf3ef23bba7e9000dfecad7bb # Parent 509f0f7fc89e9c9c3a63ea614462a6444df821a0 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. diff -r 509f0f7fc89e -r 006aee5ffd35 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