You could combine:
- "svnkit: how to get latest revision number from SVN DB?" (to get the latest revision of a SVN repo)
repository.setAuthenticationManager(authManager); SVNDirEntry entry = repository.info(".", -1); System.out.println("Latest Rev: " + entry.getRevision());
with:
- "Get previous modified revision of a file using svnkit" (to get the current of past revisions of a file)
logEntry.getRevision();