mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge branch 'svn_18_3'
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user