[merge] Transport.{append,get,put}_bytes

Martin Pool mbp at canonical.com
Mon Aug 28 02:26:26 BST 2006


On 28 Aug 2006, Robert Collins <robertc at robertcollins.net> wrote:
> On Sun, 2006-08-27 at 19:55 -0500, John Arbash Meinel wrote:
> 
> 
> > ^- Actually, 'control_files' is a LockableFiles, not a Transport. So it
> > would have to be upgraded as well. (we have put() and put_utf8(), urls
> > are technically ascii, so they *could* work as put_utf8, but it isn't
> > quite right)
> 
> Meh, I forgot. Yes, ControlFiles has 'put for files and put_utf8 for
> strings'.
> 
> We could make that consistent with transport easily enough - add
> put_bytes.

Is it actually still useful to do put() through LockableFiles, rather
than just through the appropriate transport?

-- 
Martin




More information about the bazaar mailing list