Comment 1 for bug 181945

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