mercurial/match.py
changeset 8567 fea40a677d43
parent 8566 744d6322b05b
child 8568 4fa1618bf495
--- a/mercurial/match.py	Sun May 24 02:56:14 2009 -0500
+++ b/mercurial/match.py	Sun May 24 02:56:14 2009 -0500
@@ -48,7 +48,8 @@
         _match.__init__(self, root, cwd, files, self.exact, False)
 
 class match(_match):
-    def __init__(self, root, cwd, patterns, include, exclude, default):
+    def __init__(self, root, cwd, patterns, include=[], exclude=[],
+                 default='glob'):
         f, mf, ap = util.matcher(root, cwd, patterns, include, exclude,
                                  default)
         _match.__init__(self, root, cwd, f, mf, ap)