# HG changeset patch # User Pierre-Yves David # Date 2019-08-07 20:08:04 # Node ID 2128c76c8970c901afb0a3624db854960cc514c0 # Parent c9f3f4c8999a98c04d53567423f9e140b1de0ce3 rawdata: forward `rawdata` call on `manifestlog` This needs to be sent to the underlying `revlog` too. diff --git a/mercurial/manifest.py b/mercurial/manifest.py --- a/mercurial/manifest.py +++ b/mercurial/manifest.py @@ -1620,6 +1620,9 @@ class manifestrevlog(object): def revision(self, node, _df=None, raw=False): return self._revlog.revision(node, _df=_df, raw=raw) + def rawdata(self, node, _df=None): + return self._revlog.rawdata(node, _df=_df) + def revdiff(self, rev1, rev2): return self._revlog.revdiff(rev1, rev2) diff --git a/mercurial/repository.py b/mercurial/repository.py --- a/mercurial/repository.py +++ b/mercurial/repository.py @@ -1164,6 +1164,9 @@ class imanifeststorage(interfaceutil.Int def revision(node, _df=None, raw=False): """Obtain fulltext data for a node.""" + def rawdata(node, _df=None): + """Obtain raw data for a node.""" + def revdiff(rev1, rev2): """Obtain a delta between two revision numbers.