Re: Learning the Python API - early questions
From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2003-10-05 14:47:55 CEST
Russ,
That works. Now I'm trying to call svn_client_ls.
files = svn.client.svn_client_ls( url, 0, ctx, pool )
The 1st in the C API apr_hash_t **dirents. It seems that the SWIG you
I now have this the test code below. I'm expecting that the ctx does not
Barry
import sys
def main(argv):
try:
ctx = svn.client.svn_client_ctx_t()
config = svn.core.svn_config_get_config( None, pool )
ctx.config = config
all_files = svn.client.svn_client_ls( url, 0, ctx, pool )
finally:
return 0
if __name__ == '__main__':
---------------------------------------------------------------------
|
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.