[RFC] Reworking 'commit' internals to work in texts rather than 'lines'

Robert Collins robert.collins at canonical.com
Tue Apr 28 01:02:40 BST 2009


On Mon, 2009-04-27 at 14:29 -0400, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> John Arbash Meinel wrote:
> > The main change is to avoid "KnitVersionedFile.add_lines()" and instead
> > go for something along the lines of "KVF.add_text()" which takes a
> > single string.
> 
> Maybe it's too early to worry about this, but since you are proposing a
> reimplementation, what about a chunked interface instead?

I'm completely fine with this (and we'd be doing it anyhow, if we use
insert_record_stream, as that has a chunk encoding).

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090428/076e008a/attachment-0001.pgp 


More information about the bazaar mailing list