[BUG] full local path to bundle don't accepted in merge/pull commands

John Arbash Meinel john at arbash-meinel.com
Mon Aug 7 16:57:05 BST 2006


Martin Pool wrote:

...

> 
> Should this be done in a more general way?  There are many commands that
> need to take something from the user that may be either a local path or
> a url and this bug might recur.  If we have something like
> 
>   urlutils.maybe_local_to_url(url)
> 
> that turns them into a file url if necessary then everything else can
> just work with file urls.
> 

I think this falls under your get_transport() allows non-url bug 55461.
Where you want to factor out the conversion Path => URL code into
another function, and then call get_transport_from_url() on that.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060807/a54a3484/attachment.pgp 


More information about the bazaar mailing list