subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Attila Nagy <...@fsn.hu>
Subject Re: Assertion failed and crash with 1.7.1
Date Thu, 17 Nov 2011 11:36:04 GMT
On 11/16/11 18:40, Philip Martin wrote:
> Attila Nagy<bra@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... :)

Mime
View raw message