Patchwork [03,of,10] rawdata: forward the method call on `filelog` object

login
register
mail settings
Submitter Pierre-Yves David
Date Aug. 7, 2019, 9:30 p.m.
Message ID <948b50c3f67ae6a78128.1565213432@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/41206/
State Accepted
Headers show

Comments

Pierre-Yves David - Aug. 7, 2019, 9:30 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1565207960 -7200
#      Wed Aug 07 21:59:20 2019 +0200
# Node ID 948b50c3f67ae6a7812823ead71760ef88647f7e
# Parent  fe5517914e9f519855d5f8c0ef89098e039d68c6
# EXP-Topic rawdata
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 948b50c3f67a
rawdata: forward the method call on `filelog` object

We have a new method, we need to expose it.

Patch

diff --git a/mercurial/filelog.py b/mercurial/filelog.py
--- a/mercurial/filelog.py
+++ b/mercurial/filelog.py
@@ -90,6 +90,9 @@  class filelog(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 emitrevisions(self, nodes, nodesorder=None,
                       revisiondata=False, assumehaveparentrevisions=False,
                       deltamode=repository.CG_DELTAMODE_STD):