Zsolt Koppany wrote:
>Hi,
>
>I would like to figure out the URL of a the repository from a path. For
>example if the user enters http://localhost/svn/dir1/dir2/dir3 how can I
>figure out the real URL of the repository (NOT including module paths)?
>
>Zsolt
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
Hi,
I had the same problem but with the javahl-API.
The libsvn_ra-C-API has a function called get_repos_root() which
provides what you need. I extended the javahl-interface with a java
equivalent of this function.
As far as I know there is nothing in the command-line-client to get the
repository's root url. Maybe its worth to extend the cl-client. It
shouldn't be that difficult.
Regards,
Dirk
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 3 09:15:15 2004