Mercurial > public > mercurial-scm > hg
diff hgext/hgk.py @ 6602:a57a27b12965
match: remove files argument from patch.diff
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 12 May 2008 11:37:08 -0500 |
parents | cab3ad865444 |
children | 41eb20cc1c02 |
line wrap: on
line diff
--- a/hgext/hgk.py Mon May 12 11:37:08 2008 -0500 +++ b/hgext/hgk.py Mon May 12 11:37:08 2008 -0500 @@ -94,7 +94,7 @@ if opts['pretty']: catcommit(ui, repo, node2, "") m = cmdutil.matchfiles(repo, files) - patch.diff(repo, node1, node2, files=m.files(), match=m, + patch.diff(repo, node1, node2, match=m, opts=patch.diffopts(ui, {'git': True})) else: __difftree(repo, node1, node2, files=files)