bzr+http fails when a redirect occurs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Vincent Ladeuil |
Bug Description
This is yet another bug regarding redirection going wrong; it seems similar to at least #245964 and #265070 and probably to more.
When trying the following command:
bzr revno bzr+http://
The following error occurs:
PathNotChild: Path "http://
The full traceback is here: http://
This seems to be precisely the same problem that happens in #265070, where relpath() is not functioning right, except that now the scheme causes the error, instead of the user in the url. If I were to include the user here, you get - as expected:
bzr: ERROR: bzrlib.
Note that this behaviour doesn't depend on the particular command. Any command that tries to access the remote branch will cause this behaviour. This is true for all versions of bzr at least >= 1.5
The significant part from bzr.log is here: http://
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in bzr: | |
assignee: | nobody → vila |
status: | Triaged → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Committed |
Changed in bzr: | |
milestone: | none → 1.11rc1 |
status: | Fix Committed → Fix Released |
Aaah, I forgot to mention. This problem occurs because all .astro. rug.nl- addresses are redirected to .intra.astro.rug.nl on systems inside the institute. Nevertheless, precisely the same problems occur when the http:// is redirected to a https://