remotefilelog: prune obsolete method
authorAugie Fackler <augie@google.com>
Wed, 03 Oct 2018 17:18:20 -0400
changeset 40550 b67854106edb
parent 40549 2e09d1cae90c
child 40551 f21543d7f611
remotefilelog: prune obsolete method Differential Revision: https://phab.mercurial-scm.org/D4940
hgext/remotefilelog/remotefilelog.py
--- a/hgext/remotefilelog/remotefilelog.py	Wed Oct 03 14:01:22 2018 -0400
+++ b/hgext/remotefilelog/remotefilelog.py	Wed Oct 03 17:18:20 2018 -0400
@@ -271,35 +271,6 @@
                 delta=delta,
                 )
 
-    def emitrevisiondeltas(self, requests):
-        prevnode = None
-        for request in requests:
-            node = request.node
-            p1, p2 = self.parents(node)
-            if prevnode is None:
-                prevnode = p1
-            if request.basenode is not None:
-                basenode = request.basenode
-            else:
-                basenode = p1
-            if basenode == nullid:
-                revision = self.revision(node, raw=True)
-                delta = None
-            else:
-                revision = None
-                delta = self.revdiff(basenode, node)
-            yield revlog.revlogrevisiondelta(
-                node=node,
-                p1node=p1,
-                p2node=p2,
-                linknode=self.linknode(node),
-                basenode=basenode,
-                flags=self.flags(node),
-                baserevisionsize=None,
-                revision=revision,
-                delta=delta,
-                )
-
     def revdiff(self, node1, node2):
         return mdiff.textdiff(self.revision(node1, raw=True),
                               self.revision(node2, raw=True))