Mercurial > hg
changeset 42727:bbe71b5afd02
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.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 07 Aug 2019 22:02:49 +0200 |
parents | 64387cd2bf4d |
children | ca5ca3badd3c |
files | mercurial/repository.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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.