# HG changeset patch # User Pierre-Yves David # Date 1565208169 -7200 # Node ID bbe71b5afd02c764639780bfe763348d5e5d7a6b # Parent 64387cd2bf4d765085158a59cfbb3f84e483ed30 rawdata: register the method for `ifiledata` The interface have a `revision(..., raw=False)` method so it should get a `rawdata` one. I am not sure why nothing complained about the lack of it earlier. diff -r 64387cd2bf4d -r bbe71b5afd02 mercurial/repository.py --- a/mercurial/repository.py Wed Aug 07 21:17:48 2019 +0200 +++ b/mercurial/repository.py Wed Aug 07 22:02:49 2019 +0200 @@ -597,6 +597,10 @@ consumers should use ``read()`` to obtain the actual file data. """ + def rawdata(node): + """Obtain raw data for a node. + """ + def read(node): """Resolve file fulltext data.