@Override
  protected ValidationInfo doValidate() {
    String message = HgBundle.message("specify.name.or.revision");
    return isRevisionSelected() && StringUtil.isEmptyOrSpaces(getRevision()) ? new ValidationInfo(message, myBranchesBorderPanel) : null;
  }
@Override
  protected ValidationInfo doValidate()