mercurial/revlog.py
changeset 7362 6db4a2ccef3a
parent 7361 9fe97eea5510
child 7363 9d28ff207030
--- a/mercurial/revlog.py	Wed Nov 12 15:19:14 2008 -0600
+++ b/mercurial/revlog.py	Wed Nov 12 15:32:16 2008 -0600
@@ -941,11 +941,6 @@
 
         return decompress(c)
 
-    def delta(self, node):
-        """return or calculate a delta between a node and its predecessor"""
-        r = self.rev(node)
-        return self.revdiff(r - 1, r)
-
     def revdiff(self, rev1, rev2):
         """return or calculate a delta between two revisions"""
         if rev1 + 1 == rev2 and self.base(rev1) == self.base(rev2):