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

Re: Learning the Python API - early questions

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2003-09-13 02:22:42 CEST

Another question: I need a "config" object of some kind to be able to call this

         svn.core.svn_config_get_config( config, '', pool )

What is the config object I need here?

When I passed None as the config I crash python. The checking of params is
not robust.

BArry

At 12-09-2003 23:25, Barry Scott wrote:
>minimal_client.c obviously does not build against 0.29.0. It's not calling the
>functions like svn_config_ensure with the right number of args.
>
>It seems that the C code can pass NULL as the config_dir that means a default
>is used inside the lib. However I cannot pass None in from Python as it wants
>a string. Is this a swig bug? Or is a "" string the intended object to
>pass in?
>
>Barry
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 13 02:23:31 2003

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

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