[MERGE] Teach transport.put_file to return the size written

Robert Collins robertc at robertcollins.net
Mon Sep 24 21:15:29 BST 2007


This allows file-like objects to stream, rather than having to decorate
them before using put_file, or to buffer in memory (in which case
put_bytes should be used anyway).

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-5QB5gI.patch
Type: text/x-patch
Size: 12183 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070925/a114a5c5/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070925/a114a5c5/attachment.pgp 


More information about the bazaar mailing list