use of com.intellij.cvsSupport2.cvsoperations.cvsLog.RlogCommand in project intellij-community by JetBrains.
the class GetAllBranchesOperation method createCommand.
protected Command createCommand(CvsRootProvider root, CvsExecutionEnvironment cvsExecutionEnvironment) {
final RlogCommand command = new RlogCommand();
command.setModuleName(myModuleName);
// TODO[yole]: it would be best to implement smarter handling similar to LoadHistoryOperation, but it's too cumbersome without a major refactoring
// see IDEADEV-14276
command.setSuppressEmptyHeaders(false);
return command;
}
use of com.intellij.cvsSupport2.cvsoperations.cvsLog.RlogCommand in project intellij-community by JetBrains.
the class LoadHistoryOperation method createCommand.
protected Command createCommand(CvsRootProvider root, CvsExecutionEnvironment cvsExecutionEnvironment) {
final RlogCommand command = new RlogCommand();
command.setModuleName(myModule);
command.setHeadersOnly(false);
command.setNoTags(myNoTags);
if (myDateFrom != null) {
command.setDateFrom(DATE_FORMAT.format(myDateFrom));
}
if (myDateTo != null) {
command.setDateTo(DATE_FORMAT.format(myDateTo));
}
command.setRevisions(myRevisions);
if (ourDoNotSupportingSOptionServers.contains(root.getCvsRootAsString())) {
command.setSuppressEmptyHeaders(false);
}
return command;
}
Aggregations