Inventory should not provide dictionary interface

Bug #296194 reported by Martin Pool
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned
Breezy
Fix Released
Low
Jelmer Vernooij

Bug Description

Inventory provides a collection interface: __len__, __getitem__, __delitem__, __contains__, working on file id. It's not really a dictionary, this puts undue emphasis on file ids, and it'd be better to just provide specific named methods. (In fact in most cases they're already present.)

Related branches

Martin Pool (mbp)
Changed in bzr:
assignee: nobody → mbp
importance: Undecided → Low
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: api inventory
Martin Pool (mbp)
Changed in bzr:
assignee: Martin Pool (mbp) → nobody
tags: added: tech-debt
Jelmer Vernooij (jelmer)
Changed in brz:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 3.0.0
Jelmer Vernooij (jelmer)
Changed in brz:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.