[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: mod_dav_svn: how to Determine the Connection's Base URL

From: Sander Striker <striker_at_apache.org>
Date: 2004-04-22 18:33:16 CEST

> From: Shlomi Fish [mailto:shlomif@iglu.org.il]
> Sent: Thursday, April 22, 2004 4:41 PM

> Hi all!
>
> I'm working on the get_locations() handler, with the protocol as settled by
> cmpilato and I. Now the protocol specifies that we pass a URL along with a
> peg revision and some location revisions, and in return receive a hash that
> maps the revisions to their URLs. URLs were used because these may out of the
> part of the repository that is mapped by the working copy.
>
> Now, in ra_dav/mod_dav_svn we decided to transmit these URLs over the wire.
> However, in mod_dav_svn, I need to determine what is the repository root's
> URL, to determine what are the pathes relative to the physical repository
> (and whether they actually belong there), and to transmit the resultant URLs
> back on the wire. Something like the ra_plugin_t get_repos_root() handler,
> only on the server side.
>
> How do I do that?

dav_svn_split_uri()

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 22 18:33:44 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.