}
);
}
private void logMessages(String path, Revision pegRevision, Revision revisionStart, Revision revisionEnd, boolean stopOnCopy, boolean discoverPath, boolean includeMergeInfo, String[] revisionProperties, long limit, ISVNLogEntryHandler logEntryHandler) throws ClientException {
SVNLogClient client = getSVNLogClient();
try {
if (revisionEnd == null || revisionEnd.getKind() == RevisionKind.unspecified) {
revisionEnd = Revision.HEAD;
}
if (revisionStart != null && revisionStart.getKind() == RevisionKind.unspecified) {
revisionStart = Revision.getInstance(1);
}
if (isURL(path)) {
if (revisionStart == null) {
revisionStart = Revision.HEAD;
}
client.doLog(
SVNURL.parseURIEncoded(path), new String[]{""},
JavaHLObjectFactory.getSVNRevision(pegRevision),
JavaHLObjectFactory.getSVNRevision(revisionStart),
JavaHLObjectFactory.getSVNRevision(revisionEnd),
stopOnCopy, discoverPath, includeMergeInfo, limit, revisionProperties, logEntryHandler);
} else {
if (revisionStart == null) {
revisionStart = Revision.BASE;
}
client.doLog(
new File[]{new File(path).getAbsoluteFile()},
JavaHLObjectFactory.getSVNRevision(revisionStart),
JavaHLObjectFactory.getSVNRevision(revisionEnd),
JavaHLObjectFactory.getSVNRevision(pegRevision),
stopOnCopy, discoverPath, includeMergeInfo, limit, revisionProperties, logEntryHandler);