void (@Nullable HgCommandResult result) { if (HgErrorUtil.hasErrorsInCommandExecution(result)) { new HgCommandResultNotifier(project) .notifyError(TAG_CREATION_ERROR, result, HgBundle.message("hg4idea.branch.creation.error"), HgBundle.message("action.hg4idea.CreateTag.error.msg", dialog.getTagName())); } }