mercurial/localrepo.py
changeset 42439 aae93201f758
parent 42422 381d8fa53f34
child 42512 84aff7e20c55
--- a/mercurial/localrepo.py	Thu Jun 06 18:37:21 2019 +0200
+++ b/mercurial/localrepo.py	Fri May 31 22:38:04 2019 -0700
@@ -128,8 +128,7 @@
         # scmutil.filecache only uses the path for passing back into our
         # join(), so we can safely pass a list of paths and locations
         super(mixedrepostorecache, self).__init__(*pathsandlocations)
-        for path, location in pathsandlocations:
-            _cachedfiles.update(pathsandlocations)
+        _cachedfiles.update(pathsandlocations)
 
     def join(self, obj, fnameandlocation):
         fname, location = fnameandlocation