match: use self.exact instead of lambda
self.exact uses a set and does not need an extra copy of the files
--- a/mercurial/match.py Thu May 14 19:47:52 2009 +0200
+++ b/mercurial/match.py Fri May 15 09:43:30 2009 +0200
@@ -45,7 +45,7 @@
class exact(_match):
def __init__(self, root, cwd, files):
- _match.__init__(self, root, cwd, files, lambda f: f in files, False)
+ _match.__init__(self, root, cwd, files, self.exact, False)
class match(_match):
def __init__(self, root, cwd, patterns, include, exclude, default):