Comment 3 for bug 79336

Revision history for this message
John A Meinel (jameinel) wrote : Re: WorkingTree._write_inventory() should be public

Well, we are actually trying to move away from having Inventories when possible. WT4 only has an inventory on demand (because some other api expects one).

I think a better thing would be Aaron's other idea of 'apply_delta'. So that you could pass a WorkingTree a bunch of paths that need to be added and removed, and have the WT take care of it. Rather than doing a wholesale "here is what you have now" api.

It seems pretty reasonable to update smart_add_tree and TreeTransform to use that sort of api.