~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-06-28 19:12:10 UTC
  • mfrom: (5967.7.4 rm-magic-methods)
  • Revision ID: pqm@pqm.ubuntu.com-20110628191210-bwblsxn26kyu3swl
(mbp) remove __contains__ methods from inventory and dict (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
    revno = 1
110
110
    for revision_id in branch.revision_history():
111
111
        this_inv = branch.repository.get_inventory(revision_id)
112
 
        if file_id in this_inv:
 
112
        if this_inv.has_id(file_id):
113
113
            this_ie = this_inv[file_id]
114
114
            this_path = this_inv.id2path(file_id)
115
115
        else: