mercurial/debugcommands.py
changeset 49759 cfe8d88a453e
parent 49728 5177be2b4387
child 49819 b1e4c74beb6f
equal deleted inserted replaced
49758:20f262ab6fd3 49759:cfe8d88a453e
  4498         elif opts[b'peer']:
  4498         elif opts[b'peer']:
  4499             raise error.Abort(
  4499             raise error.Abort(
  4500                 _(b'--peer %s not supported with HTTP peers') % opts[b'peer']
  4500                 _(b'--peer %s not supported with HTTP peers') % opts[b'peer']
  4501             )
  4501             )
  4502         else:
  4502         else:
  4503             peer = httppeer.makepeer(ui, path, opener=opener)
  4503             peer_path = urlutil.try_path(ui, path)
       
  4504             peer = httppeer.makepeer(ui, peer_path, opener=opener)
  4504 
  4505 
  4505         # We /could/ populate stdin/stdout with sock.makefile()...
  4506         # We /could/ populate stdin/stdout with sock.makefile()...
  4506     else:
  4507     else:
  4507         raise error.Abort(_(b'unsupported connection configuration'))
  4508         raise error.Abort(_(b'unsupported connection configuration'))
  4508 
  4509