bzr pull lp:upstart fails
Bug #181945 reported by
Martin Pool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Aaron Bentley |
Bug Description
bzr pull lp:upstart fails, complaining lp:upstart is not a directory. That url works for other commands, like log.
Probably a problem in the command class.
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in bzr: | |
importance: | Medium → High |
Changed in bzr: | |
importance: | High → Critical |
Changed in bzr: | |
assignee: | nobody → abentley |
milestone: | none → 1.4 |
status: | Confirmed → Fix Committed |
Changed in bzr: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
On Fri, 2008-01-11 at 07:17 +0000, Martin Pool wrote:
> Public bug reported:
>
> bzr pull lp:upstart fails, complaining lp:upstart is not a directory.
> That url works for other commands, like log.
>
> Probably a problem in the command class.
>
The issue is with _get_mergeable_ helper, it does
url = urlutils. normalize_ url(location) trailing_ slash=False) transport = transport. get_transport( url)
url, filename = urlutils.split(url, exclude_
location_
which leads to location_transport pointing to /whatever/lp:upstart
normalize_url returns 'file:/ //whatever/ lp%3Aupstart' as it does not
recognise lp: as a scheme.
bzr pull lp:///upstart will work.
Thanks,
James