diff hgext/remotefilelog/remotefilelog.py @ 40500:b67854106edb

remotefilelog: prune obsolete method Differential Revision: https://phab.mercurial-scm.org/D4940
author Augie Fackler <augie@google.com>
date Wed, 03 Oct 2018 17:18:20 -0400
parents 3a333a582d7b
children 9769e0f6ffe0
line wrap: on
line diff
--- 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))