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

login
register
mail settings
Submitter Pierre-Yves David
Date Aug. 30, 2019, 4:39 p.m.
Message ID <5e670542db4d9b9e3ca3.1567183178@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/41438/
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 1567181501 -7200
#      Fri Aug 30 18:11:41 2019 +0200
# Node ID 5e670542db4d9b9e3ca3524c378c819686af2eeb
# Parent  a0d144e8ade84940455437a305e1721a1f38d171
# EXP-Topic sidedata-prep
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 5e670542db4d
unionrepo: drop the custom `rawdata` implementation

We can rely on the main one now.

Patch

diff --git a/mercurial/unionrepo.py b/mercurial/unionrepo.py
--- a/mercurial/unionrepo.py
+++ b/mercurial/unionrepo.py
@@ -109,9 +109,6 @@  class unionrevlog(revlog.revlog):
             func = super(unionrevlog, self)._revisiondata
         return func(node, _df=_df, raw=raw)
 
-    def rawdata(self, nodeorrev, _df=None):
-        return self.revision(nodeorrev, _df=_df, raw=True)
-
     def addrevision(self, text, transaction, link, p1=None, p2=None, d=None):
         raise NotImplementedError
     def addgroup(self, deltas, linkmapper, transaction, addrevisioncb=None,