revlog: drop some unneeded rev.node calls in revdiff
authorMatt Mackall <mpm@selenic.com>
Fri, 13 Apr 2012 22:55:46 -0500
changeset 16424 ff63d71ac8ab
parent 16423 a150923b49ba
child 16425 70bf4dc52c91
revlog: drop some unneeded rev.node calls in revdiff
mercurial/revlog.py
--- a/mercurial/revlog.py	Thu Apr 12 20:26:33 2012 -0700
+++ b/mercurial/revlog.py	Fri Apr 13 22:55:46 2012 -0500
@@ -866,8 +866,8 @@
         if rev1 != nullrev and self.deltaparent(rev2) == rev1:
             return str(self._chunk(rev2))
 
-        return mdiff.textdiff(self.revision(self.node(rev1)),
-                              self.revision(self.node(rev2)))
+        return mdiff.textdiff(self.revision(rev1),
+                              self.revision(rev2))
 
     def revision(self, nodeorrev):
         """return an uncompressed revision of a given node or"""