Re: [PATCH] Python 2.2 compatibility for svn_export_empty_files.py
From: Blair Zajac <blair_at_orcaware.com>
Date: 2005-08-18 07:54:29 CEST
C. Michael Pilato wrote:
Is there any sample code that uses that? You're talking about these in
/** notification callback function.
/** notification callback baton for notify_func()
I tried to use them, but I can't assign anything to them. This code doesn't work:
import svn.client
def n(*a):
pool = svn.core.svn_pool_create(None)
Trying to set client_ctx.notify_baton2, client_ctx.notify_func and
TypeError: argument number 2: a 'C/C++ pointer' is expected, 'function(<function
Also, the script doesn't use the recurse flag to svn_client_ls(), to save memory
BTW, what is the ordering of results from a recursive svn_client_ls() call?
Regards,
-- Blair Zajac, Ph.D. <blair@orcaware.com> Subversion and Orca training and consulting http://www.orcaware.com/svn/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Thu Aug 18 07:55:26 2005 |
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.