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

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Aug 30 12:39:38 EDT 2019


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

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,


More information about the Mercurial-devel mailing list