public List<AnnotateLine> execute(String file) throws IOException {
Repository repo = getRepository();
List<Integer> revisions = Lists.newArrayList();
List<String> lines = Lists.newArrayList();
HgInputStream stream = launchStream(file);
while (stream.peek() != -1) {
revisions.add(stream.revisionUpTo(':'));
stream.skip(1);
lines.add(stream.textUpTo('\n'));
}
Map<Integer, Changeset> revNumMap = createRevNumMap(repo, revisions);