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
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