[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: Marcus Lindblom <macke_at_yar.nu>
Date: 2007-03-06 09:31:33 CET

(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
Received on Tue Mar 6 15:46:18 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.