diff --git a/plugins/hg4idea/src/org/zmlx/hg4idea/execution/HgCommandExecutor.java b/plugins/hg4idea/src/org/zmlx/hg4idea/execution/HgCommandExecutor.java index 932e594388e6..a7116790356e 100644 --- a/plugins/hg4idea/src/org/zmlx/hg4idea/execution/HgCommandExecutor.java +++ b/plugins/hg4idea/src/org/zmlx/hg4idea/execution/HgCommandExecutor.java @@ -61,7 +61,6 @@ public final class HgCommandExecutor { private final Project myProject; private final HgVcs myVcs; private final String myDestination; - private final List operationsWithTextIndicator = Arrays.asList("clone", "push", "pull", "update", "merge"); @NotNull private Charset myCharset; private boolean myIsSilent = false; @@ -208,8 +207,8 @@ public final class HgCommandExecutor { String workingDir = repo != null ? repo.getPath() : null; ShellCommand shellCommand = new ShellCommand(cmdLine, workingDir, myCharset); long startTime = System.currentTimeMillis(); - LOG.debug(String.format("hg %s.started", operation)); - result = shellCommand.execute(operationsWithTextIndicator.contains(operation)); + LOG.debug(String.format("hg %s started", operation)); + result = shellCommand.execute(myShowOutput); LOG.debug(String.format("hg %s finished. Took %s ms", operation, System.currentTimeMillis() - startTime)); if (!HgErrorUtil.isAuthorizationError(result)) { passReceiver.saveCredentials();