diff -r e96f75857361 -r 7edaf91c7886 mercurial/localrepo.py --- a/mercurial/localrepo.py Mon May 17 15:27:29 2021 +0200 +++ b/mercurial/localrepo.py Mon May 17 15:42:18 2021 +0200 @@ -2758,8 +2758,7 @@ if full: caches = repository.CACHES_ALL if full == b"post-clone": - caches = caches.copy() - caches.discard(repository.CACHE_FILE_NODE_TAGS) + caches = repository.CACHES_POST_CLONE else: caches = repository.CACHES_DEFAULT