Mercurial > public > mercurial-scm > hg-stable
diff mercurial/patch.py @ 7753:e617f2e99e61
patch: no need to instantiate a match catch-all in diff()
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Thu, 12 Feb 2009 12:35:48 +0100 |
parents | edcb56991afe |
children | 2c5b2abfb8be |
line wrap: on
line diff
--- a/mercurial/patch.py Wed Jan 28 20:06:59 2009 -0600 +++ b/mercurial/patch.py Thu Feb 12 12:35:48 2009 +0100 @@ -1201,9 +1201,6 @@ if node1 is None, use first dirstate parent instead. if node2 is None, compare node1 with working directory.''' - if not match: - match = cmdutil.matchall(repo) - if opts is None: opts = mdiff.defaultopts