mercurial/localrepo.py
changeset 47299 7edaf91c7886
parent 47297 1337bfaa88ca
child 47300 8b2d09c7e5cd
equal deleted inserted replaced
47298:e96f75857361 47299:7edaf91c7886
  2756 
  2756 
  2757         if caches is None:
  2757         if caches is None:
  2758             if full:
  2758             if full:
  2759                 caches = repository.CACHES_ALL
  2759                 caches = repository.CACHES_ALL
  2760                 if full == b"post-clone":
  2760                 if full == b"post-clone":
  2761                     caches = caches.copy()
  2761                     caches = repository.CACHES_POST_CLONE
  2762                     caches.discard(repository.CACHE_FILE_NODE_TAGS)
       
  2763             else:
  2762             else:
  2764                 caches = repository.CACHES_DEFAULT
  2763                 caches = repository.CACHES_DEFAULT
  2765 
  2764 
  2766         if repository.CACHE_BRANCHMAP_SERVED in caches:
  2765         if repository.CACHE_BRANCHMAP_SERVED in caches:
  2767             if tr is None or tr.changes[b'origrepolen'] < len(self):
  2766             if tr is None or tr.changes[b'origrepolen'] < len(self):