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

Q: commit-access-control.cfg file

From: Brent Webster <brent.webster_at_liquidcomputing.com>
Date: 2006-05-15 22:14:26 CEST

Using commit-access-control.pl with commit-access-control.cfg, I want to
filter read-write access on a particular file extension. (i.e. *.spec).
I want my packaging prime to be the only person to update the rpm spec
files. Of course, these file are located at various directory levels.
 
Tried

        [*.dd file only update]
        match = *.dd
        users = brentwebster
        access = read-write

but it generated the error:
svn: 'pre-commit' hook failed with error output:
/server/svn/repos/tools/hook-scripts/commit-access-control.pl: config
file `/server/svn/repos/playzone/hooks/commit-access-control.cfg'
section `*.dd file only update' `match' regex `*.dd' does not compile:
Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE
.dd/ at /server/svn/repos/tools/hook-scripts/commit-access-control.pl
line 160.
 
I tried various other regex but they failed so what am I missing? escape
characters, good documentation, what?
 
Your help would be appreciated.
 
Thanks, Brent
Received on Mon May 15 22:15:43 2006

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.