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

How to use Python Bindings

From: Toshio <toshio_at_tiki-lounge.com>
Date: 2004-01-09 04:22:15 CET

Hi,

I'm experimenting with the Python Bindings for Subversion and not having
much luck. I'm trying to use:
svn.client.svn_client_status(URL,
        rev,
        printStatus,
        1,
        0,
        0,
        0,
        ctxt,
        pool)
but can't seem to get it to do anything. I think I may need a different
argument instead of printStatus (A function that just prints "Hi") but
I'm not sure what. The C binding has two arguments where my printStatus
is (callback and callback data?) Can anyone tell me how this function
is supposed to work?

I'm also a bit new with Python so I don't know if there's some easy way
to use its introspection features to get information like what arguments
a function expects. If so, I'd love to know. If not, where do I find
help guessing what arguments the other functions in the bindings take?

Thanks,
Toshio Kuratomi

-- 
Toshio <toshio@tiki-lounge.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 9 04:23:01 2004

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.