Mercurial > hg
changeset 21834:e4d35aa9056c
basectx: pass raw context objects to patch.diff
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Tue, 29 Apr 2014 16:43:59 -0500 |
parents | c1ceec0c8cb4 |
children | b342c3e2518a |
files | mercurial/context.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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):