RFC: difference in dirstate iter_changes and inventory iter_changes
Robert Collins
robertc at robertcollins.net
Fri Aug 8 01:37:05 BST 2008
There is a slight difference between the two iter_changes
implementations.
Specifically, the inventory based one includes missing files, whereas
the dirstate one is skipping them. We have a test about this, but I
think its wrong :)
tree.add('foo')
os.unlink('foo')
len(tree.iter_changes(tree.basis_tree()))
-> 1 for inventory based iter_changes
-> 0 for dirstate
any objection to my making these consistently 1 ?
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080808/8ca1e110/attachment.pgp
More information about the bazaar
mailing list