# HG changeset patch # User Simon Heimberg # Date 1242373410 -7200 # Node ID 39fd67552297ecb8b9272f6a9201153ec740e843 # Parent 9fe16b1a1786e33f82dc8671ca32dfe6ae6024eb match: use self.exact instead of lambda self.exact uses a set and does not need an extra copy of the files diff -r 9fe16b1a1786 -r 39fd67552297 mercurial/match.py --- 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):