mercurial/store.py
changeset 8480 0e91bcaaa92c
parent 8467 9890151a7f30
child 8530 03196ac9a8b9
--- a/mercurial/store.py	Sun May 17 16:55:51 2009 +0200
+++ b/mercurial/store.py	Sun May 17 16:56:20 2009 +0200
@@ -234,9 +234,7 @@
         self.entries = None
 
     def loadfncache(self):
-        self.entries = set()
-        for f in fncache(self.opener):
-            self.entries.add(f)
+        self.entries = set(fncache(self.opener))
 
     def __call__(self, path, mode='r', *args, **kw):
         if mode not in ('r', 'rb') and path.startswith('data/'):