mercurial/exchange.py
changeset 50699 2aaabd8f4471
parent 50666 60f9602b413e
child 51561 7752cf4f64cc
child 51577 b5d494f7d28a
equal deleted inserted replaced
50698:f1b57672cb94 50699:2aaabd8f4471
  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."""