equal
deleted
inserted
replaced
2857 |
2857 |
2858 def inline_clone_bundle_open(ui, url, peer): |
2858 def inline_clone_bundle_open(ui, url, peer): |
2859 if not peer: |
2859 if not peer: |
2860 raise error.Abort(_(b'no remote repository supplied for %s' % url)) |
2860 raise error.Abort(_(b'no remote repository supplied for %s' % url)) |
2861 clonebundleid = url[len(bundlecaches.CLONEBUNDLESCHEME) :] |
2861 clonebundleid = url[len(bundlecaches.CLONEBUNDLESCHEME) :] |
2862 peerclonebundle = peer.get_inline_clone_bundle(clonebundleid) |
2862 peerclonebundle = peer.get_cached_bundle_inline(clonebundleid) |
2863 return util.chunkbuffer(peerclonebundle) |
2863 return util.chunkbuffer(peerclonebundle) |
2864 |
2864 |
2865 |
2865 |
2866 def trypullbundlefromurl(ui, repo, url, peer): |
2866 def trypullbundlefromurl(ui, repo, url, peer): |
2867 """Attempt to apply a bundle from a URL.""" |
2867 """Attempt to apply a bundle from a URL.""" |