Mats Fors <mats.fors@iar.se>


Found
r862403

r862403 | dlr | 2006-11-17 16:36:45 -0600 (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/authz_tests.py
  (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
          me
Found by: Mats Fors <mats.fors@iar.se>