mercurial/wireprotov1server.py
changeset 50686 a41eeb877d07
parent 50542 7b723217d368
child 50699 2aaabd8f4471
equal deleted inserted replaced
50685:b9a355763e76 50686:a41eeb877d07
   435 
   435 
   436     manifest = repo.vfs.tryread(b'pullbundles.manifest')
   436     manifest = repo.vfs.tryread(b'pullbundles.manifest')
   437     if not manifest:
   437     if not manifest:
   438         return None
   438         return None
   439     res = bundlecaches.parseclonebundlesmanifest(repo, manifest)
   439     res = bundlecaches.parseclonebundlesmanifest(repo, manifest)
   440     res = bundlecaches.filterclonebundleentries(repo, res)
   440     res = bundlecaches.filterclonebundleentries(repo, res, pullbundles=True)
   441     if not res:
   441     if not res:
   442         return None
   442         return None
   443     cl = repo.unfiltered().changelog
   443     cl = repo.unfiltered().changelog
   444     heads_anc = cl.ancestors([cl.rev(rev) for rev in heads], inclusive=True)
   444     heads_anc = cl.ancestors([cl.rev(rev) for rev in heads], inclusive=True)
   445     common_anc = cl.ancestors([cl.rev(rev) for rev in common], inclusive=True)
   445     common_anc = cl.ancestors([cl.rev(rev) for rev in common], inclusive=True)