Mats Fors <>


r862403 | dlr | 2006-11-17 22:36:45 +0000 (Fri, 17 Nov 2006)

Report the first error found when parsing rule values from an authz
file, rather than the last.  This both returns a more useful error,
and doesn't leak a bunch of errors in the middle.

* subversion/libsvn_repos/authz.c
 (authz_validate_rule): Return after creating an error.

* subversion/tests/cmdline/
  (broken_authz_file): Test for comment text in authz rule values.
   While functionally this isn't really a change, it's likely a more
   common case as found in the wild.

Patch by: glasser
Found by: Mats Fors <>