}
});
} catch (InvocationTargetException e) {
- LOG.error(e);
+ LOG.info(e);
} catch (InterruptedException e) {
- LOG.error(e);
+ LOG.info(e);
}
return myValidHgExecutable;
}
HgUtil.markFileDirty(project, file);
}
} catch (InvocationTargetException e) {
- LOG.error("Exception while marking files dirty", e);
+ LOG.info("Exception while marking files dirty", e);
+
} catch (InterruptedException e) {
- LOG.error("Exception while marking files dirty", e);
+ LOG.info("Exception while marking files dirty", e);
}
}
}
private static void handleException(Project project, Exception e) {
- LOG.error(e);
+ LOG.info(e);
VcsUtil.showErrorMessage(project, e.getMessage(), "Error");
}
HgVcs.getInstance(project).getGlobalSettings().addRememberedUrl(runnable.getURL(), runnable.getUserName());
}
catch (PasswordSafeException e) {
- LOG.error("Couldn't store the password for key [" + key + "]", e);
+ LOG.info("Couldn't store the password for key [" + key + "]", e);
}
}
try {
password = PasswordSafe.getInstance().getPassword(project, HgCommandAuthenticator.class, key);
} catch (PasswordSafeException e) {
- LOG.error("Couldn't get password for key [" + key + "]", e);
+ LOG.info("Couldn't get password for key [" + key + "]", e);
}
}
cmdLine.add("extensions.mq=");
} catch (IOException e) {
showError(e);
- LOG.error("IOException during preparing command", e);
+ LOG.info("IOException during preparing command", e);
return null;
}
cmdLine.addAll(hgOptions);
ShellCommand shellCommand = new ShellCommand();
HgCommandResult result;
try {
- LOG.debug(cmdLine.toString());
String workingDir = repo != null ? repo.getPath() : null;
result = shellCommand.execute(cmdLine, workingDir, charset);
} catch (ShellCommandException e) {
showError(e);
- LOG.error(e.getMessage(), e);
+ LOG.info(e.getMessage(), e);
return null;
} finally {
promptServer.stop();
ensureSuccess(HgCommandService.getInstance(project).execute(repo, "commit", parameters));
project.getMessageBus().syncPublisher(HgVcs.OUTGOING_TOPIC).update(project);
} catch (IOException e) {
- LOG.error(e);
+ LOG.info(e);
}
}
try {
return CurrentContentRevision.create(hgFile.toFilePath()).getContent();
} catch (VcsException e) {
- LOG.error(e);
+ LOG.info(e);
return StringUtils.EMPTY;
}
}
private static void throwException(Exception e) throws VcsException {
String msg = "Exception during marking directory dirty: " + e;
- LOG.error(msg, e);
+ LOG.info(msg, e);
throw new VcsException(msg);
}