You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Marcus Lindblom <ma...@yar.nu> on 2007/03/06 08:31:33 UTC

[bug] Enforcer script can't handle multi-line property changes?

(I tried posting this to the dev-list but it never appeared)

Hi,

This is with the latest enforcer script, svn 1.4.3, OpenBSD, Python 2.4.

A diff like this:

Property changes on: trunk/ThirdParty/OpenSG
___________________________________________________________________
Name: svn:ignore
  - OpenSG-1.6.0
OpenSG-1.4

  + OpenSG-1.6.0
OpenSG-1.4
OpenSG_dailybuild

Causes the following error:

Traceback (most recent call last):
 File "./enforcer", line 438, in ?
   raise AssertionError("Expected property diff data, got: %r" % line)
AssertionError: Expected property diff data, got: 'OpenSG-1.4'

It seems like it expects "   +" or "   -" lines always.

I worked around it by commenting out the entire case in the enforcer 
script (since we don't validate properties at the moment), but a proper 
fix would be nice.

Cheers,
/Marcus



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