# HG changeset patch # User Martin von Zweigbergk # Date 2019-06-01 05:38:04 # Node ID aae93201f75888deac664d16e01af3c4bc76ac22 # Parent 48f1f864d928e0178e1ed6d0e13530432fd02241 mixedrepostorecache: fix a silly redundant updating of set Differential Revision: https://phab.mercurial-scm.org/D6470 diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -128,8 +128,7 @@ class mixedrepostorecache(_basefilecache # 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