private boolean isReservedWord(@Nullable String name) {
    myErrorText = TIP_REFERENCE.equals(name) ? HgBundle.message("hg4idea.validation.name.reserved", name) : null;
    return myErrorText != null;
  }
private boolean isReservedWord(@Nullable String name)