Mercurial > hg
diff mercurial/unionrepo.py @ 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 | 94e2f8437f6b |
children | 64c3db458d08 |
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