changeset 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 998fc8f62539
children ab00d2c281a8
files mercurial/patch.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
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