Merge lp:~jelmer/bzr/less-inventory-access into lp:bzr
|Approved by:||Vincent Ladeuil on 2012-02-20|
|Approved revision:||no longer in the source branch.|
|Merged at revision:||6470|
|Diff against target:||184 lines (+22/-39) 7 files modified|
|To merge this branch:||bzr merge lp:~jelmer/bzr/less-inventory-access|
Avoid direct access of tree inventories in a couple more places.
Description of the Change
Remove access to Tree.root_inventory in a couple of places.
In a few places we weren't actually using the inventory after assigning it to a local variable.
I've removed Inventory.