changeset 42726:64387cd2bf4d

rawdata: implement the method for `unionrepo` too This is required for all implementations.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 07 Aug 2019 21:17:48 +0200
parents 7492899c6fc6
children bbe71b5afd02
files mercurial/unionrepo.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/unionrepo.py	Wed Aug 07 20:51:52 2019 +0200
+++ b/mercurial/unionrepo.py	Wed Aug 07 21:17:48 2019 +0200
@@ -116,6 +116,9 @@
             # already cached
         return text
 
+    def rawdata(self, nodeorrev, _df=None):
+        return self.revision(nodeorrev, _df=_df, raw=True)
+
     def baserevision(self, nodeorrev):
         # Revlog subclasses may override 'revision' method to modify format of
         # content retrieved from revlog. To use unionrevlog with such class one