mercurial/bundlerepo.py
branchstable
changeset 18568 cd403d6d96ef
parent 18418 e72126135252
child 18643 cc28a84db8c9
equal deleted inserted replaced
18563:6d098adc5a46 18568:cd403d6d96ef
   365         if not localrepo:
   365         if not localrepo:
   366             # use the created uncompressed bundlerepo
   366             # use the created uncompressed bundlerepo
   367             localrepo = bundlerepo = bundlerepository(ui, repo.root, fname)
   367             localrepo = bundlerepo = bundlerepository(ui, repo.root, fname)
   368             # this repo contains local and other now, so filter out local again
   368             # this repo contains local and other now, so filter out local again
   369             common = repo.heads()
   369             common = repo.heads()
       
   370     if localrepo:
       
   371         # Part of common may be remotely filtered
       
   372         # So use an unfiltered version
       
   373         # The discovery process probably need cleanup to avoid that
       
   374         localrepo = localrepo.unfiltered()
   370 
   375 
   371     csets = localrepo.changelog.findmissing(common, rheads)
   376     csets = localrepo.changelog.findmissing(common, rheads)
   372 
   377 
   373     def cleanup():
   378     def cleanup():
   374         if bundlerepo:
   379         if bundlerepo: