~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Jelmer Vernooij
  • Date: 2011-04-17 23:06:22 UTC
  • mto: This revision was merged to the branch mainline in revision 5803.
  • Revision ID: jelmer@samba.org-20110417230622-e52xsel9m0t0umcf
Add a RevisionTree.get_file_revision() method.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4706
4706
            annotate_file_tree(wt, file_id, self.outf, long, all,
4707
4707
                show_ids=show_ids)
4708
4708
        else:
4709
 
            file_version = tree.inventory[file_id].revision
 
4709
            file_version = tree.get_file_revision(file_id)
4710
4710
            annotate_file(branch, file_version, file_id, long, all, self.outf,
4711
4711
                          show_ids=show_ids)
4712
4712