Do not show cvs errors while commit

This commit is contained in:
Olesya Smirnova
2005-02-26 20:24:23 +03:00
parent 95af453a8f
commit f2af3a811f
@@ -158,12 +158,14 @@ public class CvsCheckinEnvironment implements CheckinEnvironment {
dialog.getPreparedComment(CvsVcs2.getInstance(myProject).getCheckinEnvironment()));
final CvsOperationExecutor executor = new CvsOperationExecutor(project);
executor.setShowErrors(false);
executor.performActionSync(checkinHandler, new MyCvsOperationExecutorCallback(checkinHandler));
return executor.getResult().getErrorsAndWarnings();
}
public List<VcsException> commit(FilePath[] roots, Project project, String preparedComment) {
final CvsOperationExecutor executor = new CvsOperationExecutor(project);
executor.setShowErrors(false);
CvsHandler handler = CommandCvsHandler.createCommitHandler(
roots,
new File[]{},