new Task.Backgroundable(project, "Cherry-picking...", false) {
public void run(@NotNull ProgressIndicator indicator) {
try {
Optional<GitRepository> gitRepositoryOptional = getRepositoryForGerritProject(project, changeInfo.project);
if (!gitRepositoryOptional.isPresent()) return;
GitRepository gitRepository = gitRepositoryOptional.get();
final VirtualFile virtualFile = gitRepository.getGitDir();
final String notLoaded = "Not loaded";
GitCommit gitCommit = new GitCommit(virtualFile, AbstractHash.create(revisionId), new SHAHash(revisionId), notLoaded, notLoaded, new Date(0), notLoaded,
notLoaded, Collections.<String>emptySet(), Collections.<FilePath>emptyList(), notLoaded,
notLoaded, Collections.<String>emptyList(), Collections.<String>emptyList(), Collections.<String>emptyList(),