I want to get the latest revision number of the SVN database using SVNKIT. I don\'t want to update the local repository and get the head revision number , i want to directly
DAVRepositoryFactory.setup();
final SVNURL url = SVNURL.parseURIDecoded("http://svn.apache.org/repos/asf");
final SVNRepository repository = SVNRepositoryFactory.create(url);
final long latestRevision = repository.getLatestRevision();
System.out.println(latestRevision);