~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: Aaron Bentley
  • Date: 2005-10-04 04:32:32 UTC
  • mfrom: (1185.12.6)
  • mto: (1185.12.13)
  • mto: This revision was merged to the branch mainline in revision 1419.
  • Revision ID: aaron.bentley@utoronto.ca-20051004043231-40302a149769263b
merged my own changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    rp = b.relpath(sys.argv[1])
52
52
    tree = b.revision_tree(b.last_revision())
53
53
    file_id = tree.inventory.path2id(rp)
54
 
    file_version = tree.inventory[file_id].text_version
 
54
    file_version = tree.inventory[file_id].revision
55
55
    annotate_file(b, file_version, file_id, sys.stdout)