start = end;
end = tmpRev;
}
FSRevisionRoot root = fsfs.createRevisionRoot(end);
FSNodeHistory history = root.getNodeHistory(path);
long count = 0;
do {
history = history.getPreviousHistory(crossCopies);
if (history == null) {
break;
}
long revision = history.getHistoryEntry().getRevision();
if (revision < start) {
break;
}
String id = null;
if (includeIDs) {
FSRevisionRoot revRoot = fsfs.createRevisionRoot(revision);
FSRevisionNode node = revRoot.getRevisionNode(history.getHistoryEntry().getPath());
id = node.getId().toString();
}
if (handler != null) {
try {
handler.handlePath(new SVNAdminPath(history.getHistoryEntry().getPath(), id, revision));
} catch (SVNException svne) {
if (svne.getErrorMessage().getErrorCode() == SVNErrorCode.CEASE_INVOCATION) {
break;
}
throw svne;