void (@NotNull ProgressIndicator indicator) { if (selectedRepo != null) { HgGraftCommand graftCommand = new HgGraftCommand(project, selectedRepo); HgCommandResult result = graftCommand.continueGrafting(); if (HgErrorUtil.isAbort(result)) { new HgCommandResultNotifier(project) .notifyError(GRAFT_CONTINUE_ERROR, result, HgBundle.message("hg4idea.hg.error"), HgBundle.message("action.hg4idea.Graft.continue.error")); } HgUtil.markDirectoryDirty(project, selectedRepo.getRoot()); } }