mercurial/context.py
changeset 21834 e4d35aa9056c
parent 21722 ee29b0bb1619
child 21835 b342c3e2518a
--- a/mercurial/context.py	Wed Aug 14 13:10:27 2013 -0500
+++ b/mercurial/context.py	Tue Apr 29 16:43:59 2014 -0500
@@ -256,8 +256,7 @@
         if ctx2 is not None:
             ctx2 = self._repo[ctx2]
         diffopts = patch.diffopts(self._repo.ui, opts)
-        return patch.diff(self._repo, ctx2.node(), self.node(),
-                          match=match, opts=diffopts)
+        return patch.diff(self._repo, ctx2, self, match=match, opts=diffopts)
 
     @propertycache
     def _dirs(self):