You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Georg Viehöver <vi...@sigma-c.de> on 2005/07/26 09:29:46 UTC

\tools\hook-scripts\svnperms.py identifies wrong sections

Hi,

I believe I have stumbled over a minor bug in svnperms.py. It identifies sections in it's config file using the pattern SECTION = re.compile(r'\[([^]]+)\]'). This wrongly identies certain path pattern as sections, for example "[^/]+ = *()" will be identified as
section [^/] instead of being recognized as a pattern for entries on the first directory level.

I suggest to add a "$" to the pattern: SECTION = re.compile(r'\[([^]]+)\]$')

Georg


-- 
   Georg Viehöver(viehoever@sigma-c.com)
   Senior Software Architect
   Sigma-C GmbH, Thomas-Dehler-Str.9, 81737 Munich, Germany
   Phone: +49 (89) 63 02 57-73, Fax: -49
   http://www.sigma-c.com
  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org