revisionTags.add(tagName);
}
final HgLogCommand logCommand = new HgLogCommand(repository);
logCommand.file(targetPath, true);
logCommand.execute(new HgChangesetHandler() {
public void cset(HgChangeset changeset) {
if (changeset.getAffectedFiles().contains(targetPath)) {
System.out.println(changeset.getRevisionIndex() + " " + changeSetRevisionToTags.get(changeset.getNodeid()));
}
}