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);
int size = lines.size();
List<AnnotateLine> result = Lists.newArrayListWithCapacity(size);