bzr uses inaccessible, internal URL when pushing to server with host-relative default_stack_on url
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Jonathan Lange |
Bug Description
When I try to push a branch to development Launchpad server running Bazaar 1.15, I get:
$ bzr push lp://dev/
Using default stacking branch /~jml/gnome-
Source format does not support stacking, using format: '1.6'
Packs 5 (adds stacking support, requires bzr 1.6)
bzr: ERROR: Unsupported protocol for url "lp-47059052510
HPSS calls: 2 (0 vfs) SmartSSHClientM
You can reproduce this:
1. [CLIENT] cd some-branch; bzr push bzr+ssh:
2. [SERVER] BzrDir.
3. [SERVER] echo 'default_
4. [CLIENT] bzr push bzr+ssh:
This behaviour occurs in bzr.dev r4416 and in the bzr/1.15 branch.
http://
2.258 hpss call: 'BzrDirFormat.
2.258 (to bzr+ssh:
[18692] 2009-06-09 19:11:35.034 INFO: Using default stacking branch /~jml/gnome-
2.856 result: ('.', 'no', 'no', 'yes', 'Bazaar RepositoryForma
With the above repro script, these lines become:
3.645 hpss call: 'BzrDirFormat.
3.645 (to bzr+ssh:
3.909 result: ('.', 'no', 'no', 'yes', 'Bazaar RepositoryForma
Related branches
- Andrew Bennetts: Approve
- Diff: 165 lines
Changed in bzr: | |
assignee: | nobody → Jonathan Lange (jml) |
status: | Triaged → In Progress |
Just quickly this is probably due to an LP plugin doing something
unexpected: this code path is tested with regular servers, and in those
cases a local chroot transport is in use but is correctly translated
back to the external url.
-Rob