Plugable diffing algorithms?

Aaron Bentley aaron.bentley at utoronto.ca
Thu Dec 14 21:29:46 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:
> Aaron Bentley wrote:
>>Diffs are not currently as pluggable in the infrastructure, but there's
>>already a plugin to use whatever differ you like: difftools

> Further, there is a small limitation in our storage format, which is
> that it stores either full texts, or line deltas. So the diff algorithm
> would still need to emit one of these.

This is a point of tension between the two reasons for knit: compression
and annotation.

On an XML file, annotations would be better served by an XML differ.
But I expect compression won't be significantly better, and having that
amount of storage format flux seems problematic.

I was only answering in terms of the user-facing diffing; "bzr diff" mainly.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFFgcJK0F+nu1YWqI0RAoajAKCDccu0GwOjwOsTED38QVQdtIn0BwCeNVR7
l+qkIKJ7FP7bU8EhpGKzyvM=
=kMEk
-----END PGP SIGNATURE-----




More information about the bazaar mailing list