Misleading error message when missing paramiko

John Arbash Meinel john at arbash-meinel.com
Wed May 24 21:03:26 BST 2006

Brian M. Carlson wrote:
> On Wed, May 24, 2006 at 02:28:30PM -0500, Bob Tanner wrote:
>> Keir Mierle wrote:
>>> $ bzr push sftp://cs/public_html/quickbranch
>>> bzr: ERROR: Parent directory of sftp://cs/public_html/quickbranch does not
>>> exist.
>>> Installing paramiko made this exact command work. Perhaps the error
>>> message should say something like "bzr: ERROR: Unknown transport: sftp://"
>> Even though I know of this issue it still bites me every so often,
>> especially when I go to a new box.
> I think I have found the problem.  If it doesn't recognize the
> transport, it falls back to using the argument as a directory; in other
> words, it uses ./sftp:/cs/public_html/quickbranch .  Probably, the code
> in question should just complain if it looks like a transport.  Then, if
> you really want to use it as a directory, you could specify file:///....

It is a known problem. I have some changes in the pipeline that should
help, but they changed enough that they weren't targeted at 0.8. I'm not
sure if we want to backport something different for an 0.8.x target.


-------------- 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/20060524/9b39a22e/attachment.pgp 

More information about the bazaar mailing list