changeset 16424:ff63d71ac8ab

revlog: drop some unneeded rev.node calls in revdiff
author Matt Mackall <mpm@selenic.com>
date Fri, 13 Apr 2012 22:55:46 -0500
parents a150923b49ba
children 70bf4dc52c91
files mercurial/revlog.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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"""