public static @Nullable String getNewBranchNameFromUser(@NotNull HgRepository repository,
                                                @DialogTitle @NotNull String dialogTitle) {
    return Messages.showInputDialog(repository.getProject(), HgBundle.message("hg4idea.branch.enter.name"), dialogTitle,
                                    Messages.getQuestionIcon(), "",
                                    new HgBranchReferenceValidator(repository));
  }
public static @Nullable String getNewBranchNameFromUser(@NotNull HgRepository repository,
                                                @DialogTitle @NotNull String dialogTitle)