[vcs] Revert making vcs processes blocking (cff1ba8) since it seem to cause thread hangs: IDEA-143143 IDEA-142540

This commit is contained in:
Kirill Likhodedov
2015-08-08 15:55:54 +03:00
parent c4df1e5c6b
commit 243970dcb7
4 changed files with 6 additions and 11 deletions
@@ -594,7 +594,7 @@ database.native.loading.description=Enables native schema loader if present
database.native.loading=true
git.status.write=true
git.blocking.read=true
git.blocking.read=false
cidr.cygwin.cmakePermissionsFix=true
cidr.cygwin.cmakePermissionsFix.description=Update permissions for the bin/ folder inside the installed IDE so that the bundled CMake could run
@@ -68,9 +68,4 @@ class HgCommandProcessHandler extends OSProcessHandler {
return HgCommandProcessHandler.this.executeOnPooledThread(runnable);
}
}
@Override
protected boolean useNonBlockingRead() {
return false;
}
}
@@ -85,9 +85,4 @@ public class SvnProcessHandler extends OSProcessHandler {
return SvnProcessHandler.this.executeOnPooledThread(runnable);
}
}
@Override
protected boolean useNonBlockingRead() {
return false;
}
}
@@ -57,6 +57,11 @@ public class TerminalProcessHandler extends SvnProcessHandler {
process.destroy();
}
@Override
protected boolean useNonBlockingRead() {
return false;
}
@Override
public void notifyTextAvailable(String text, Key outputType) {
terminalOutputCapturer.onTextAvailable(new ProcessEvent(this, text), outputType);