Mercurial > hg
diff mercurial/interfaces/repository.py @ 51021:006aee5ffd35
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.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 26 Sep 2023 01:05:02 +0200 |
parents | 2aaabd8f4471 |
children | 33d2f0164d0d |
line wrap: on
line diff
--- 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