Valid Syntax for commit-access-control.cfg

2010-02-03 Thread Steven Hansen
Hi, I'm trying to find some documentation describing "valid" syntax for the commit-access-control.cfg file. I've been bitten in the past by using something like: [SVN - config modification permissions] match = ^SVN access = read-write users = first.lastname Having a '.' in the usernam

Re: Valid Syntax for commit-access-control.cfg

2010-02-07 Thread David Weintraub
What type of "error" are you getting? Is the script running, but not giving you the results you expect (i.e., it rejects a commit that it should accept or visa versa), or is the script erroring out with a message? I'm looking at the code, and I really don't see an issue with periods in the name si

Re: Valid Syntax for commit-access-control.cfg

2010-02-07 Thread Steven Hansen
Hi David, I get an error like this: svn: 'pre-commit' hook failed with error output: /svn/repo/hooks/commit-access-control.pl: error in loading configuration file `/svn/repo/hooks/commit-access-control.cfg': Line 308 in file /svn/repo/hooks/commit-access-control.cfg is mal-formed: This has h

Re: Valid Syntax for commit-access-control.cfg

2010-02-08 Thread David Weintraub
In the commit-access-control.pl program itself, the user name is just treated as a text string. However, I found your error message in the near the top of the commit-access-control.pl program: > my $cfg = Config::IniFiles->new(-file => $cfg_filename); > unless ($cfg) >  { >    die "$0: error in l