# HG changeset patch # User Matt Mackall # Date 1210610228 18000 # Node ID 6c06944ba344c3a7f24e2db43bd9f081a18d75cb # Parent b739aa437c577b1c549701292d5ab6248d5344af match: remove files argument from patch.diff [ original message from upstream ] diff -r b739aa437c57 -r 6c06944ba344 hgkw/keyword.py --- a/hgkw/keyword.py Mon May 12 11:37:07 2008 -0500 +++ b/hgkw/keyword.py Mon May 12 11:37:08 2008 -0500 @@ -505,7 +505,7 @@ # shrink keywords read from working dir self.lines = kwt.shrinklines(self.fname, self.lines) - def kw_diff(repo, node1=None, node2=None, files=None, match=util.always, + def kw_diff(repo, node1=None, node2=None, match=None, fp=None, changes=None, opts=None): '''Monkeypatch patch.diff to avoid expansion except when comparing against working dir.'''