blame(path, revisionEnd, revisionStart, revisionEnd, false, false, handler);
return baos.toByteArray();
}
public void blame(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, BlameCallback callback) throws ClientException {
final BlameCallback blameCallback = callback;
ISVNAnnotateHandler handler = new ISVNAnnotateHandler() {
public void handleLine(Date date, long revision, String author, String line) {
if (blameCallback != null) {
blameCallback.singleLine(date, revision, author, line);
}
}
public void handleLine(Date date, long revision, String author, String line,
Date mergedDate, long mergedRevision, String mergedAuthor,