sftp urls are interpreted as a local paths

John A Meinel john at arbash-meinel.com
Mon May 15 17:32:24 BST 2006


Haakon Riiser wrote:
> I'm trying out bzr for the first time, and I'm having trouble
> with sftp urls.  Example:
> 
>   $ rm -rf foo; mkdir foo; cd foo
>   $ bzr checkout sftp://user@host/~/path/to/branch/ branch
>   bzr: ERROR: Not a branch: /tmp/sftp:/user at host/~/path/to/branch/
>   $ bzr version | head -1
>   bzr (bazaar-ng) 0.8
> 
> Notice that the error message indicates that bzr never tries to
> access the specified host using sftp.  Instead, it tries the local
> path /tmp/sftp:/user at host/~/path/to/branch/.
> 
> Tried both the wiki and the mailing list archives, but without any
> luck.  Have I missed something obvious?
> 

Without paramiko installed, sftp support is not enabled, so bzr tries
all other handlers (finishing with the local path handler).

We need to improve the error message, and I have some work in progress
to do this.

John
=:->


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


More information about the bazaar mailing list