[MERGE] Fix internal_diff to not fail when the texts are identical.

John Arbash Meinel john at arbash-meinel.com
Thu Dec 6 14:10:29 GMT 2007


We've had a long-standing bug in 'internal_diff' that if you pass it
identical texts, it would fail with an IndexError because it assumed you
weren't calling it when there were no changes.

This is a simple patch which fixes that behavior. It is probably 1.0
worthy, as it is very small.

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 3963 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071206/7bbc9b66/attachment.bin 


More information about the bazaar mailing list