[BUG] Pull without trailing slash fails

John Arbash Meinel john at arbash-meinel.com
Tue Jun 20 04:52:10 BST 2006

I'm not really sure why right now, but I thought I would mention this.
Doing a 'bzr pull' fails if you don't have a trailing slash on the sftp

Specifically I get:
$ bzr pull sftp://juju/srv/bzr/public/mirrors/bzr/bzr.dev
bzr: ERROR: exceptions.IOError: Failure
  at /usr/lib/python2.4/site-packages/paramiko/sftp_client.py line 599
  in _convert_status


$ bzr pull sftp://juju/srv/bzr/public/mirrors/bzr/bzr.dev/
All changes applied successfully.

I think it has to do with my 'read_bundle_from_url'. I'm guessing we
aren't capturing the exception for trying to read a directory as a file
I know my code checks, and if the url ends in '/' it knows it can't be a
Bundle. (Actually it checks if the file is '').


-------------- 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/20060619/53a9613d/attachment.pgp 

More information about the bazaar mailing list