[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-10-01 22:56:43 CEST

Russ,

Where did svn_cmdline_init go? It was in 0.29.0 its not in 0.30.0.
Do I need it?

svn_config_get_config returns:
  {'config': '_30cc9700_p_svn_config_t', 'servers': '_00c79700_p_svn_config_t'}

What is the servers value? Its not clear that the C API returns such a thing.

Is the '_30cc9700_p_svn_config_t' what I put in ctx.config? I get this
traceback:

   File "minimal_client.py", line 27, in main
     ctx.config = config
   File "C:\Python23\lib\site-packages\libsvn\client.py", line 132, in <lambda>
     __setattr__ = lambda self, name, value: _swig_setattr(self,
svn_client_ctx_t, name, value)
   File "C:\Python23\lib\site-packages\libsvn\client.py", line 13, in
_swig_setattr
     if method: return method(self,value)
TypeError: Type error. Expected _p_apr_hash_t

                Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 1 22:57:45 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.