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

Re: svn commit: rev 3434 - trunk/tools/hook-scripts

From: Gustavo Niemeyer <niemeyer_at_conectiva.com>
Date: 2002-10-22 19:07:39 CEST

> > New Revision: 3434
> > Log:
> > * tools/hook-scripts/svnperms.py,
> > tools/hook-scripts/svnperms.conf.example: New access control script
> > and sample conf file from Gustavo Niemeyer <niemeyer@conectiva.com>.
> >
> > * tools/hook-scripts/README: Mention svnperms.py. Reorganize a bit.
>
> Gustavo, I put these in tools/hook-scripts now. If you'd like to just

Thank you!

> maintain them there, just send me a username/password pair (plaintext
> please) and I'll set you up for commit access on that area.

I'll mail you a password.

> Note that I commented out this line near the top of the script:
>
> from __future__ import generators
>
> because it caused this error for me in Python 2.1:
>
> $ ./svnperms.py
> File "./svnperms.py", line 2
> from __future__ import generators
> SyntaxError: future feature generators is not defined
>
> Not sure what's going on there; is my Python already too old? Then we
> probably want a minimum version check. Anyway, you can fix it in the
> tree...

It's needed. I'm using a generator in the Permission.walk() function.
Well, I can change it to return a list instead. It will increase a
little bit the memory usage, but will reduce the needed python version.

Ok.. I'll do that as soon as I get repository access.

Thanks!

-- 
Gustavo Niemeyer
[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 22 19:08:25 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.