Fails to update tree if port is specified in URL
Bug #388881 reported by
Matt Nordhoff
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Plugin to Update Remote Trees |
Triaged
|
Medium
|
Unassigned |
Bug Description
lp:bzr r4459, lp:bzr-push-and-update r12.
$ bzr push bzr+ssh://<email address hidden>
running "ssh <email address hidden>:2222 bzr update "/branch/""
ssh: example.com:2222: Name or service not known
This transport does not update the working tree of: bzr+ssh://<email address hidden>
Pushed up to revision 123.
bzr-push-and-update needs to separate out the port from the hostname and pass it to ssh in the correct way (ssh -p 2222 user@...).
description: | updated |
Changed in bzr-push-and-update: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
I've got the same problem.
Fixed with the following patch,
Changed line 153 to
cmd = ['ssh', user+host, '-p', port.lstrip(':'), remote_bzr, 'update', path]