diff mercurial/repository.py @ 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 2128c76c8970
children 83d090ebec0c
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.