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);
        final SvnInfo info = infoOp.run();
        System.out.println(info.getUrl());

Hope that helps.

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 7 December 2014 at 09:00, Aleś Bułojčyk <alex73m...@gmail.com> wrote:

> 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.
>

Reply via email to