diff -r 48f1f864d928 -r aae93201f758 mercurial/localrepo.py --- 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