Re: ctypes-python-bindings - list files in working copy issue
From: Konstantin Kolinko <knst.kolinko_at_gmail.com>
Date: Sun, 11 Mar 2012 02:45:03 +0400
2012/3/9 Martin Zibricky <mzibr.public_at_gmail.com>:
I have not tested it, but just looking at the sources:
1. The callback used by WC.list() is actually the _list_wrapper
[1] http://svn.apache.org/repos/asf/subversion/trunk/subversion/bindings/ctypes-python/csvn/wc.py
_list_wrapper() in [1] is declared as
It is prepared for use in __init__ in [1] as
[[[
But that does not match svn_client_list_func_t definition elsewhere
In [3]:
[[[
So the problem: the "const svn_lock_t *lock" argument is missing in
2. The listing itself is performed by the following call in list() in wc.py [1]:
[[[
There exists newer method, "svn_client_list2" since 1.5.
3. Regarding OP's example:
Is there a point of calling list() without passing a callback function into it?
The _list_wrapper() does nothing if your callback ("self._list") is
Best regards,
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.