~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-19 12:54:46 UTC
  • mfrom: (5793.2.6 revisiontree-get-revision)
  • Revision ID: pqm@pqm.ubuntu.com-20110419125446-s16r0ck8t1ig6u7n
(jelmer) Add RevisionTree.get_file_revision,
 replacing an existing static method on Tree. 
 This should also make it unnecessary to access the inventory in a couple
 more cases. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4714
4714
            annotate_file_tree(wt, file_id, self.outf, long, all,
4715
4715
                show_ids=show_ids)
4716
4716
        else:
4717
 
            file_version = tree.inventory[file_id].revision
 
4717
            file_version = tree.get_file_revision(file_id)
4718
4718
            annotate_file(branch, file_version, file_id, long, all, self.outf,
4719
4719
                          show_ids=show_ids)
4720
4720