bzr http URL stores evaluated URL instead of the link
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
New
|
Undecided
|
Unassigned |
Bug Description
We've recently hit a problem where 'bzr pull' did not update to the latest trunk of lp:goyaml.
After a bit of investigation, it seems that http://
$ bzr info
Standalone tree (format: 2a)
Location:
branch root: .
Related branches:
parent branch: http://
submit branch: .
However, if the 'main branch' is changed to point to a different branch (or, eg. if the branch owner is changed), this URL will be out of date. This is exactly the problem we hit: people had outdated branches since trunk has moved and 'bzr pull' simply reported no new revisions.
Neither does it work correctly with URLs like https:/
$ bzr pull --remember https:/
https:/
https:/
But, it works correctly with lp:goyaml URL when appropriate bzr+ssh:
$ bzr pull --remember lp:goyaml
No revisions or tags to pull.
$ bzr info
Standalone tree (format: 2a)
Location:
branch root: .
Related branches:
parent branch: bzr+ssh:
submit branch: .
To clarify, I am not certain this is a LP bug. I am just hoping LP could not be giving out permanent redirects (but temporary ones) and bzr would then respect that and store the shorter URL it started off with.
I believe this is a dupe of a much older bug.