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

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Aug 30 16:39:32 UTC 2019


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at 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.

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
 



More information about the Mercurial-devel mailing list