Hello Oleg, > Is it possible to checkout a working copy in a 1.6 format using the "new" > api from the org.tmatesoft.svn.core.wc2 package?
SvnOperationFactory of = new SvnOperationFactory(); of.setPrimiaryWcGeneration(SvnWcGeneration.V16); SvnCheckout co = of.createCheckout(); co.setSingleTarget(SvnTarget.fromFile(...)); co.setSource(SvnTarget.fromURL(...)); co.run(); > What is the preferred way to do that anyway? Keep a separate instance of SvnOperationFactory with primary wc generation set to V16 - it would create new working copies in 1.6 format, but will also work with existing working copies in 1.7 format. Alexander Kitaev, TMate Software, http://subgit.com/ - Svn to Git Migration! http://svnkit.com/ - Java [Sub]Versioning Library! http://hg4j.com/ - Java Mercurial Library! http://sqljet.com/ - Java SQLite Library! On 19 April 2012 00:05, Oleg Estekhin <oleg.estek...@gmail.com> wrote: > > Hi > > Is it possible to checkout a working copy in a 1.6 format using the "new" > api from the org.tmatesoft.svn.core.wc2 package? > > What is the preferred way to do that anyway? > -- > View this message in context: > http://old.nabble.com/how-to-checkout-a-wc-in-per-1.7-format-using-the-new-api--tp33710147p33710147.html > Sent from the SVNKit - Users mailing list archive at Nabble.com. > >