[MERGE] "bzr commit" fails with Microsoft FTP Service

Andreas Deininger adeininger at googlemail.com
Mon Apr 14 07:30:14 BST 2008


2008/4/11 Aaron Bentley <aaron at aaronbentley.com>:
>
>  bb:resubmit
>
>  550 doesn't have a well defined meaning in the context of a rename.  It
>  could mean "file does not exist" or "new name could not be created"
>  (because ftplib's rename does RNFR and RNTO, and either can fail with
>  550, and you can't tell which it was from the exception).
>
>  So please don't delete the vsftpd handling, and do the 550 check after
>  trying _translate_perm_error.  That way, well-known servers will work
>  well, and other servers will kindof work.

After additionally checking whether the 550 error was caused by a
rename, I'm resubmitting that patch.

Regards
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-microsoft-ftp-service-rfnr-message-3.patch
Type: application/octet-stream
Size: 597 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080414/5929cf1e/attachment.obj 


More information about the bazaar mailing list