I'm experiencing a strange initial delay when performing a log using JavaHL.
svn log http://svn.apache.org/repos/asf/subversion/branches/1.8.x
shows first results after 2-3 seconds, while following code snippet
takes at least 20 seconds (sometimes significantly more, might depend on
the server's load):
ISVNRemote session =
factory.openRemoteSession("http://svn.apache.org/repos/asf");
List<String> paths =
Collections.singletonList("subversion/branches/1.8.x");
session.getLog(paths, Revision.SVN_INVALID_REVNUM, 0, 0, false,
false, false, null, new LogMessageCallback() {
public void singleMessage(Set<ChangePath> changedPaths,
long revision, Map<String, byte[]> revprops, boolean hasChildren) {
System.out.println("DATA");
}
});
Once the log responds, a bunch of revisions are reported, so it seems
that there is some kind of caching of log records.
I've tested with latest 1.9.x sources on Windows but have seen the same
behavior with javahl-1.8-extensions branch on Linux, too.
-Marc