use of com.intellij.cvsSupport2.cvsoperations.common.LoginPerformer in project intellij-community by JetBrains.
the class SelectCvsElementStep method isLogged.
private boolean isLogged(final CvsRootConfiguration selectedConfiguration) {
myErrors.set(null);
final LoginPerformer performer = new LoginPerformer(myProject, Collections.<CvsEnvironment>singletonList(selectedConfiguration), e -> myErrors.set(Boolean.TRUE));
try {
final boolean logged = performer.loginAll(false);
return logged && myErrors.isNull();
} catch (CvsRootException e) {
Messages.showErrorDialog(e.getMessage(), CvsBundle.message("error.title.invalid.cvs.root"));
return false;
}
}
Aggregations