rawdata: register the method for `ifiledata`
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 07 Aug 2019 22:02:49 +0200
changeset 42727 bbe71b5afd02
parent 42726 64387cd2bf4d
child 42728 ca5ca3badd3c
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.
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.