equal
deleted
inserted
replaced
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 |