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

Re: Getting started with svnperms

From: Joshua Varner <jlvarner_at_gmail.com>
Date: 2005-11-07 22:14:53 CET

On 11/7/05, Stephen Gross <sgross@darwin.epbi.cwru.edu> wrote:
> >All aspects of Subversion are discussed in the book:
> http://svnbook.red-bean.com/
> I've already been working through this book, and haven't found detailed
> information on (1) how to get the correct hook to call svnperms, and (2)
> reference information on setting up svnperms. Any ideas?


Just call the svnperms.py from the pre-commit hook:
USAGE = """\
Usage: svnperms.py OPTIONS

    -r PATH Use repository at PATH to check transactions
    -t TXN Query transaction TXN for commit information
    -f PATH Use PATH as configuration file (default is repository
               path + /conf/svnperms.conf)
    -s NAME Use section NAME as permission section (default is
               repository name, extracted from repository path)
    -R REV Query revision REV for commit information (for tests)
    -A AUTHOR Check commit as if AUTHOR had commited it (for tests)
    -h Show this message


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 7 22:28:15 2005

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.