[merge][0.11] 'bzr annotate' fails on empty files

John Arbash Meinel john at arbash-meinel.com
Thu Sep 21 20:43:24 BST 2006


'bzr annotate' calls max(list) but the list is empty if there are no
lines in the file.

The attached patch adds a test case, and a fix for bug:
https://launchpad.net/products/bzr/+bug/56814

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: annotate-empty-56814.patch
Type: text/x-patch
Size: 2137 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060921/fae4964c/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060921/fae4964c/attachment.pgp 


More information about the bazaar mailing list