67
67
if __name__ == '__main__':
68
68
from bzrlib.branch import Branch
69
69
from bzrlib.trace import enable_default_logging
72
73
b = Branch.open_containing(sys.argv[1])
74
76
tree = b.revision_tree(b.last_revision())
75
77
file_id = tree.inventory.path2id(rp)
76
78
file_version = tree.inventory[file_id].revision