~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/annotate.py

  • Committer: Robert Collins
  • Date: 2005-09-30 14:27:41 UTC
  • mto: This revision was merged to the branch mainline in revision 1397.
  • Revision ID: robertc@robertcollins.net-20050930142741-fc326c828b5bbefd
text_version and name_version unification looking reasonable

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)