Re: How to add target's parents in SvnCommit?

2014-12-07 Thread Dmitry Pavlenko
Hi Vladislav, You can try to commit working copy root if it's ok for you. To get working copy root use this code final File workingCopyRoot = SVNWCUtil.getWorkingCopyRoot(file, false); Otherwise, I know no solution. If you add the file parent as a target, all its children (not only that file)

How to add target's parents in SvnCommit?

2014-12-07 Thread Vladislav Solovei
Hi, all! I am trying to add unversioned nodes recursively to WC and to SVN Repository :) Using WC2 api :) Something like this (just for example. WC dir is: C:\SVN\WC ): final SvnOperationFactory factory = new SvnOperationFactory(); final SvnCommit commit = factory.createCommit(); SvnScheduleForA

Re: Get URL of working copy without login

2014-12-07 Thread Alexander Kitaev
Hello Aleś, Here is the code: final SvnOperationFactory of = new SvnOperationFactory(); final SvnGetInfo infoOp = of.createGetInfo(); infoOp.setSingleTarget(SvnTarget.fromFile(wc)); infoOp.setDepth(SVNDepth.EMPTY); infoOp.setRevision(SVNRevision.WORKING);

Get URL of working copy without login

2014-12-07 Thread Aleś Bułojčyk
Hi All. My software reads SVN working copy of local disk. Is there any way to get repository URL without login to SVN ? WBR, Alex.