Re: Assertion failed and crash with 1.7.1
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])
>> 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