Patchwork [3,of,9] bundlerepo: drop the custom `rawdata` implementation

login
register
mail settings
Submitter Pierre-Yves David
Date Aug. 30, 2019, 4:39 p.m.
Message ID <680d5166e27cd9029c7e.1567183172@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/41436/
State Accepted
Headers show

Comments

Pierre-Yves David - Aug. 30, 2019, 4:39 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1567181536 -7200
#      Fri Aug 30 18:12:16 2019 +0200
# Node ID 680d5166e27cd9029c7e1c6f983fb98e677ea10f
# Parent  156d1114c885bb3475e78698657f5794ff14c5eb
# EXP-Topic sidedata-prep
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 680d5166e27c
bundlerepo: drop the custom `rawdata` implementation

We can rely on the main one now.

Patch

diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py
--- a/mercurial/bundlerepo.py
+++ b/mercurial/bundlerepo.py
@@ -139,9 +139,6 @@  class bundlerevlog(revlog.revlog):
             rawtext = mdiff.patches(rawtext, [delta])
         return rev, rawtext, validated
 
-    def rawdata(self, nodeorrev, _df=None):
-        return self.revision(nodeorrev, _df=_df, raw=True)
-
     def addrevision(self, *args, **kwargs):
         raise NotImplementedError