"bzr branch lp:projectname" fails in a strange way
Bug #115491 reported by
Michael Hudson-Doyle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Ian Clatworthy | ||
Bug Description
Doing something like this:
$ bzr branch lp:bzr-svn
fails in a rather mysterious way:
$ bzr branch lp:bzr-svn
http://
bzr: ERROR: Transport operation not possible: http does not support mkdir()
"bzr branch lp:bzr-svn bzr-svn" works fine though.
Changed in bzr: | |
importance: | Undecided → Medium |
Changed in bzr: | |
assignee: | nobody → ian-clatworthy |
To post a comment you must log in.
It happens because "lp:bzr-svn" doesn't have a path separator ('/'). So
bzr branch lp:///bzr-svn
should work correctly.
2 possible fixes are:
1) At least give a better error and display what branch you are trying to branch to, and why you cannot.
2) Update the code to directly recognize "lp:" and strip it. Either by refactoring over the Transport object (since lp: is a non-standard url scheme, all of our other schemes are foo:// at least).