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

Re: Assertion failed and crash with 1.7.1

From: Attila Nagy <bra_at_fsn.hu>
Date: Thu, 17 Nov 2011 12:36:04 +0100

On 11/16/11 18:40, Philip Martin wrote:
> Attila Nagy<bra_at_fsn.hu> writes:
>> I use pysvn for this and basically the code looks like this (in python):
>> def update_perms():
>> for path in propchg:
>> proplist = svn.propget('file:permissions', path)
>> if not os.path.islink(path) and proplist.has_key(path):
>> set_perms(path, proplist[path])
>> svn.update(walkroot)
>> update_perms()
>> The svn update collects the changed entries (propchg) and update_perms
>> iterates on them and gets their file:permissions property and sets it
>> in the file system.
>> And this is what takes ages (literally), compared to 1.6.
>> Any ideas about what could be done in this topic?
> It might be faster to run a recursive propget, which is a single
> transaction, and discard the output if it doesn't match one of the
> changed paths.
I will try this. Should this be true even for 10+ million files? I don't
want to think about the memory usage... :)
Received on 2011-11-17 12:36:39 CET

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.