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

RE: Unknown command check-path

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-05-19 17:47:34 CEST

On Thu, 2005-05-19 at 16:09 +1000, William Ferguson wrote:
> BTW can you tell me what the 'config' paramater in svn_ra_plugin_t->open
> represents?

It represents the user configuration files, canonically located in
~/.subversion on Unix systems (but elsewhere on Windows). You can fetch
it from the canonical location with svn_config_get_config().

You might want to look at the implementation of
svn_client__open_ra_session in subversion/libsvn_client/ra.c to see how
the RA layer actually gets used in Subversion. Unfortunately, that's a
private function and there's a lot of logic in there to duplicate.
We've discussed exposing this function in the API in future releases.

You might also want to look at clients/cmdline/main.c to see how the
command-line client uses libsvn_client.

> I'm supplying a NULL value at the moment which seems to work OK, but I don't
> know what ramifications it might have.

For the svnserve layer, it would mean that the user's configuration of
tunnel agents won't work; for the HTTP layer, it would mean that the
user's HTTP settings (proxy server, timeout, etc.) won't work.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 19 17:50:54 2005

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.