« Return to Thread: Retrieving a URL of an existing working copy

Retrieving a URL of an existing working copy

by Ryan Cuprak-2 :: Rate this Message:

Reply to Author | View in Thread

Hello,
Is there a way to retrieve the SVN url of an existing working copy? In  
the application I am working on I allow the user to select an existing  
working copy. This working copy would have been checked out from  
either Eclipse or the svn command line utilities. I've been digging  
through the APIs but nothing sticks out. What I want to do, retrieve  
the URL to the repository and then create an instance of the  
SVNRepository via the SVNRepositoryFactory and call the  
testConnection() method to verify the security credentials. However, I  
need an SVNURL to pass to the SVNRepositoryFactory but I am not sure  
where I can get it if all I have a file pointing at a directory in the  
working copy.

Thanks!
-Ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...

 « Return to Thread: Retrieving a URL of an existing working copy