4720
4720
file_id = tree.path2id(relpath)
4722
4722
raise errors.NotVersionedError(filename)
4724
4723
if wt is not None and revision is None:
4725
4724
# If there is a tree and we're not annotating historical
4726
4725
# versions, annotate the working tree's content.
4727
4726
annotate_file_tree(wt, file_id, self.outf, long, all,
4730
4730
annotate_file(branch, file_version, file_id, long, all, self.outf,