Merge branch 'svn_18_3'

This commit is contained in:
Konstantin Kolosovsky
2014-04-08 22:24:48 +04:00
3 changed files with 14 additions and 1 deletions
@@ -41,6 +41,11 @@ public class TerminalExecutor extends CommandExecutor {
myInteractiveListeners.add(listener);
}
@Override
public Boolean wasError() {
return Boolean.FALSE;
}
@Override
protected void startHandlingStreams() {
for (InteractiveCommandListener listener : myInteractiveListeners) {
@@ -104,7 +104,8 @@ public class TerminalProcessHandler extends SvnProcessHandler {
}
}
private static Key resolveOutputType(@NotNull String line, @NotNull Key outputType) {
@NotNull
protected Key resolveOutputType(@NotNull String line, @NotNull Key outputType) {
Key result = outputType;
if (!ProcessOutputTypes.SYSTEM.equals(outputType)) {
@@ -15,6 +15,7 @@
*/
package org.jetbrains.idea.svn.commandLine;
import com.intellij.openapi.util.Key;
import com.intellij.openapi.util.text.StringUtil;
import org.jetbrains.annotations.NotNull;
@@ -57,6 +58,12 @@ public class WinTerminalProcessHandler extends TerminalProcessHandler {
return text;
}
@NotNull
@Override
protected Key resolveOutputType(@NotNull String line, @NotNull Key outputType) {
return outputType;
}
@NotNull
private static String removeAllBeforeCaretReturn(@NotNull String line) {
int caretReturn = line.lastIndexOf("\r");