~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Martin Pool
  • Date: 2011-06-28 15:39:43 UTC
  • mto: This revision was merged to the branch mainline in revision 6001.
  • Revision ID: mbp@canonical.com-20110628153943-8goi4lgd2d1wfu1v
Fix up additional callers that count on inventory.__contains__

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: