[MERGE] Refactor diffing

Aaron Bentley aaron.bentley at utoronto.ca
Wed Nov 21 18:06:41 GMT 2007


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

Hi all,

This patch refactors diffing:
- - It removes a common use of the Tree.inventory member.  We would
ideally like to make .inventory an implementation detail of several tree
types, rather than part of the public interface.  This is incremental
progress toward that goal
- - It cleans up the code significantly
- - By moving responsibility to a Command object, it should make it easier
to use different diff implementations in the future (currently hacked
around by difftools and bzrtools' colordiff).
- - Its handling of file-kind changes is clearly defined.

Aaron

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

iD8DBQFHRHOx0F+nu1YWqI0RApzAAJ4g8jzHXTnhPRP55449dhjXgN0+NACdFvw0
rE4cZ5ub/k3gfhGcsZQMw8w=
=pv9A
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: differ.patch
Type: text/x-patch
Size: 29547 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071121/f71822c5/attachment-0001.bin 


More information about the bazaar mailing list