Perfect! Thank you! On Jun 6, 2014 4:42 PM, "Dmitry Pavlenko" <pavle...@tmatesoft.com> wrote:
> Hello Dale, > Please have a look at my answer to a similar question: > > http://issues.tmatesoft.com/issue/SVNKIT-495 > > I hope this helps. > > client.getOperationsFactory().setPrimaryWcGeneration( SvnWcGeneration.V16 > ); > statement is not the valid way SVNKit API should be used. Use > > svnOperationFactory.createCheckout(); > > instead as in my answer to the issue. > -- > Dmitry Pavlenko, > TMate Software, > http://subgit.com/ - git-svn bridge > > > I'm updating the svn plugin for jEdit, which uses svnkit, to svnkit > 1.8.5. > > With previous versions (1.7.9 and earlier, anyway), it was possible to > set > > the desired working copy format. This doesn't seem possible with 1.8.5. > > > > I was using code like this: > > > > SVNUpdateClient client = clientManager.getUpdateClient(); > > client.getOperationsFactory().setPrimaryWcGeneration( SvnWcGeneration.V16 > > ); revision = client.doCheckout( SVNURL.parseURIDecoded( url ), > localPath, > > SVNRevision.HEAD, SVNRevision.HEAD, SVNDepth.INFINITY, true ); > > > > This used to checkout the code in 1.6 working copy format. With 1.8.5, > it's > > always 1.8 format regardless of the value set in setPrimaryWcGeneration. > Is > > there a different way to achieve this with the new version of svnkit? > This > > is a nice feature for people who for some reason, like compatibility with > > other tools, can't use the 1.8 working format. > > > > Thanks, > > > > Dale >