[MERGE] tree.changes_from and status allow kind changes

Aaron Bentley aaron.bentley at utoronto.ca
Fri Feb 2 15:55:51 GMT 2007


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

Hi all,

This patch adjusts tree.changes_from and TreeDelta to permit file kind
changes.

Kind changes are displayed as
- ---
kind change:
 filename (file => directory)
- --
Or "K  filename (file => directory)" in the short format.

Files that have kind changes and are also renamed are treated as
modified and renamed, which is also true.  Updating the TreeDelta
structure to include kind changes in the rename list would break API
compatibility.

I expect to have a follow-on patch which replaces the short-format
output with the revert-style short output, and this will faithfully
represent rename-with-kind-change.

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

iD8DBQFFw18G0F+nu1YWqI0RAvvZAJwOQfkKlImUcjpKyyjqypGrRH8eTwCeIRn4
QCAgtkuT6xo7VdSNA9uRBe4=
=Kf0e
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kind-change-status.patch
Type: text/x-patch
Size: 10364 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070202/0ed49c0a/attachment.bin 


More information about the bazaar mailing list