void (@NotNull final String patchName) { final Project project = myRepository.getProject(); HgCommandResult result = new HgCommandExecutor(project).executeInCurrentThread(myRepository.getRoot(), "qpush", Arrays.asList("--move", patchName)); if (HgErrorUtil.hasErrorsInCommandExecution(result)) { new HgCommandResultNotifier(project) .notifyError(QPUSH_ERROR, result, HgBundle.message("action.hg4idea.QPushAction.error"), HgBundle.message("action.hg4idea.QPushAction.error.msg", patchName)); } myRepository.update(); }