One case where patience diff does much better

Martin Pool mbp at sourcefrog.net
Sun Feb 26 16:44:26 GMT 2006


On 16 Dec 2005, John Arbash Meinel <john at arbash-meinel.com> wrote:
> Well, I have found a case where Patience diff does what I consider to be
> much better, and why I wanted to use it in the first place.
> 
> Attached is 2 versions of the same diff. It is my changes for
> permissions to transport/__init__.py which changes some function signatures.
> 
> You an see that difflib seems to get confused about what is actually
> changing. While patience diff recognizes that the function signature
> changes, and some of the documentation.

The diffs produced by matching on unique lines definitely do look
better.  Do you think we should bring it in (perhaps not used by
default), or are there still bugs to fix, or ..?

-- 
Martin




More information about the bazaar mailing list