RFC: make all inventories immutable except via deltas
Robert Collins
robertc at robertcollins.net
Wed Jul 29 00:51:07 BST 2009
I wonder if we have enough support in our inventory delta code to:
- make all InventoryEntries immutable
- remove mutators on Inventory other than apply_delta
This might make it easier to avoid aliasing and similar bugs with
Inventory, and would make it possible for dirstate to keep its created
inventory up to date too. (By having that inventory not have an
apply_delta method - or having the apply_delta apply to the dirstate
too).
-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090729/2a5d31da/attachment.pgp
More information about the bazaar
mailing list