use of org.eclipse.che.plugin.svn.shared.ShowLogRequest in project che by eclipse.
the class SubversionClientServiceImpl method showLog.
@Override
public Promise<CLIOutputResponse> showLog(Path project, Path[] paths, String revision) {
final String url = getBaseUrl() + "/showlog";
final ShowLogRequest request = dtoFactory.createDto(ShowLogRequest.class).withProjectPath(project.toString()).withPaths(toList(paths)).withRevision(revision);
return asyncRequestFactory.createPostRequest(url, request).loader(loader).send(dtoUnmarshallerFactory.newUnmarshaller(CLIOutputResponse.class));
}
Aggregations