Re: Learning the Python API - early questions
From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2003-10-07 23:50:34 CEST
Russ,
Aha! That makes svn_client_ls work (unless I need to input a auth credentials).
I've used the same pattern to get checkout working.
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:
def main(argv):
try:
ctx = svn.client.svn_client_ctx_t()
config = svn.core.svn_config_get_config( None, pool )
ctx.config = config
yougest = svn.client.svn_client_status(
finally:
return 0
def status_func( baton, path, status ):
if __name__ == '__main__':
BArry
---------------------------------------------------------------------
|
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.