Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.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 | b822a379860b |
children | 41eb20cc1c02 |
line wrap: on
line diff
--- a/mercurial/commands.py Mon May 12 11:37:08 2008 -0500 +++ b/mercurial/commands.py Mon May 12 11:37:08 2008 -0500 @@ -961,8 +961,7 @@ node1, node2 = cmdutil.revpair(repo, opts['rev']) m = cmdutil.match(repo, pats, opts) - patch.diff(repo, node1, node2, m.files(), match=m, - opts=patch.diffopts(ui, opts)) + patch.diff(repo, node1, node2, match=m, opts=patch.diffopts(ui, opts)) def export(ui, repo, *changesets, **opts): """dump the header and diffs for one or more changesets