void (@NotNull HgRepository repository, @NotNull Hash commit) { String revisionHash = commit.asString(); new HgCreateTagAction().execute(repository.getProject(), Collections.singleton(repository), repository, revisionHash); }