[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Limit on number of consecutive ls's? [SOLVED]

From: Simon Perreault <nomis80_at_nomis80.org>
Date: 2005-02-19 20:25:30 CET

Hi,

A quick note to let everyone know that I solved my problem. I finally
understood the concept of pools (*ducks*) and I understood that my script was
dying because of the limit of 1024 open files per process. The lock file
wasn't getting closed because I wasn't using a separate pool for the
svn_client_ls command. This is how I fixed my script:

+ lspool = svn.core.svn_pool_create(pool)
        files = svn.client.svn_client_ls( url, revision, 0, ctx, lspool )
+ svn.core.svn_pool_destroy(lspool)

I feel so newbish... ;(

-- 
Simon Perreault <nomis80_at_nomis80.org> -- http://nomis80.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Feb 19 20:27:49 2005

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.