Barry Scott wrote:
> ...
> But status looks like it will not work until we wrap the status func.
>
> TypeError: Type error. Expected _p_svn_wc_status_func_t
>
> Here is the code I'm testing with:
> ..
This should be fixed in revision 7349. You don't get to use the baton,
though, so you need the following change:
--- test.py Wed Oct 08 00:32:50 2003
+++ test.py.fix1 Wed Oct 08 01:38:24 2003
@@ -21,7 +21,6 @@
path, # const char *path,
None, # svn_opt_revision_t *revision,
status_func, # svn_wc_status_func_t status_func,
- None, # void *status_baton,
0, # svn_boolean_t descend,
0, # svn_boolean_t get_all,
0, # svn_boolean_t update,
@@ -34,8 +33,7 @@
return 0
-def status_func( baton, path, status ):
- print 'baton:', repr(baton)
+def status_func( path, status ):
print 'path:',repr(path)
print 'status:',repr(status)
- Russ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 10 03:11:10 2003