[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: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 16 Nov 2011 17:40:55 +0000

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.

Received on 2011-11-16 18:41:35 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.