Re: [PATCH] More bindings for gnome_keyring / platform_specific_client_providers
> svn_config_get_config() reads from disk. You'd do that just once (and
> stash the result in the client context, if svn_cmdline_init() or someone
> else doesn't do that for you), and then ["config"] it. (In the C level
> that's just an apr_hash_get().)
> Have a look at what the svn* binaries do.
Ah, thanks for the pointers, I think I got it now. A closer looks hows
that ctx.config was even filled already, but a bit further down. I've
attached a patch to fix this, which now allows me to disable
gnome-keyring from ~/.subversion/config when running the example.
> If you don't find a better way (even after asking) I'll also be happy
> with a test that does a strstr() on the repr() of the objects.
It turned out that the type is just exported as
svn.core.svn_auth_provider_object_t, so the change is trivial. See the
other attached patch.
Received on 2012-02-07 20:52:43 CET
This is an archived mail posted to the Subversion Dev