SVNKit: How to get the repository url from a local path?

Posted by StackedCrooked on Stack Overflow See other posts from Stack Overflow or by StackedCrooked
Published on 2010-04-27T15:48:08Z Indexed on 2010/04/27 15:53 UTC
Read the original article Hit count: 193

Filed under:
|
|

I would like to implement a method that can get the svn revision number from the path where a SVN repository has been checked out. The method declaration would look something like this:

long getRevisionNumber(String localPath) { ... }

I'm trying to use SVNKit for this, but it seems to require an SVN URL to start with. Is there any way to start with a local path?

© Stack Overflow or respective owner

Related posts about svnkit

Related posts about svn