[PATCH] faster initial commit due to buffered logging

Robert Collins robertc at robertcollins.net
Mon May 28 23:17:51 BST 2007


On Mon, 2007-05-28 at 21:05 +1000, Ian Clatworthy wrote:
> The attached patch builds on the previous submitted one and includes 
> better comments in response to feedback from Andrew Bennetts. The main 
> improvement though is "smarter" logging in that the "added ..." messages 
> are output at the end, not in situ. To be strictly correct, the add 
> messages are buffered until an 'interesting' one (like 'Committed 
> revision xx.') is logged.

Would a simpler approach be to write to stdout rather than stderr ?
Thats buffered by default, and we dont need to create our own buffering
mechanism.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- 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/20070529/05b13143/attachment.pgp 


More information about the bazaar mailing list