bzr pull lp:upstart fails

Bug #181945 reported by Martin Pool
24
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.

Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
James Westby (james-w) wrote : Re: [Bug 181945] bzr pull lp:upstart fails

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)
    url, filename = urlutils.split(url, exclude_trailing_slash=False)
    location_transport = transport.get_transport(url)

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

Revision history for this message
Andrew Bennetts (spiv) wrote :

The bug is still there in 1.2rc1, and worse, the workaround doesn't work anymore:

$ bzr pull lp:///bzr-dbus
lp:///bzr-dbus is redirected to bzr+ssh://<email address hidden>/~bzr/bzr-dbus/trunk
bzr: ERROR: exceptions.NotImplementedError: <bound method LaunchpadTransport.clone of <bzrlib.plugins.launchpad.lp_indirect.LaunchpadTransport url=lp:///>>

Martin Pool (mbp)
Changed in bzr:
importance: Medium → High
Martin Pool (mbp)
Changed in bzr:
importance: High → Critical
Revision history for this message
René 'Necoro' Neumann (necoro) wrote :

Bug still exists in 1.3 ... and workaround fails now with just another error message

$ bzr pull lp:///portato
bzr: ERROR: Invalid url supplied to transport: "": You must specify a product.

Aaron Bentley (abentley)
Changed in bzr:
assignee: nobody → abentley
milestone: none → 1.4
status: Confirmed → Fix Committed
Aaron Bentley (abentley)
Changed in bzr:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.