I need to automatically checkout all svn revisions to do some repo mining.
I wrote a java code using svnkit (org.tmatesoft.svn_1.8.5.standalone_2) The code works nicely when i access the url of the repository but when i do checkout using file:/// protocol, the following svn exception appears.
I searched and found lots of recommendations like version mismatch in client and server. but i do not have client server. I only have a java code.
i checked out a revison recursively in my local drive and then i expect to use the repo in local drive to automatically checkout older revisions in offline mode
I can't figure out the solution and i am a novice.
Do you have any solution?
Exception:
Exception in thread "main" org.tmatesoft.svn.core.SVNException: svn: E180001: Unable to open an ra_local session to URL
svn: E180001: Unable to open repository 'file:///c:/repos/lego'
svn: E180001: Unable to open repository 'file:///c:/repos/lego'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at org.tmatesoft.svn.core.internal.io.fs.FSRepository.openRepository(FSRepository.java:796)
at org.tmatesoft.svn.core.internal.io.fs.FSRepository.testConnection(FSRepository.java:105)
at org.tmatesoft.svn.core.io.SVNRepository.getRepositoryRoot(SVNRepository.java:323)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:768)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:16)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:10)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1149)
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:777)
at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:662)
at SVNHelper.doCheckou(SVNHelper.java:77)
at process2.main(process2.java:20)