Mercurial > hg-stable
changeset 11106:213ca9ffcddb
changectx: change diff() to accept keyword opts
author | Steve Borho <steve@borho.org> |
---|---|
date | Fri, 07 May 2010 14:07:30 -0500 |
parents | 6f4543842795 |
children | 9c72c5c094aa |
files | mercurial/context.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Fri May 07 10:59:11 2010 -0500 +++ b/mercurial/context.py Fri May 07 14:07:30 2010 -0500 @@ -204,7 +204,7 @@ def sub(self, path): return subrepo.subrepo(self, path) - def diff(self, ctx2=None, match=None, opts=None): + def diff(self, ctx2=None, match=None, **opts): """Returns a diff generator for the given contexts and matcher""" if ctx2 is None: ctx2 = self.p1()