void (@NotNull AnActionEvent e) { FileDocumentManager.getInstance().saveAllDocuments(); final UpdatedFiles updatedFiles = UpdatedFiles.create(); for (final HgRepository repository : myRepositories) { HgMergeCommand.mergeWith(repository, myBranchName, updatedFiles); } }