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

mailer.py, post-commit and SubVersion 1.4 on Windows

From: Chatterbox <bf3_at_telenet.be>
Date: 2006-10-11 13:05:50 CEST

Hi all,

I just downloaded the stable binary distribution of SubVersion 1.4 for
Windows, the stable Python bindings, and the official mailer.py script.

However, when I try to use the post-commit command, I get the follow

mailer.py commit "F:/Nazooka/Development/svn/nazooka" 4
Traceback (most recent call last):
  File "F:\Nazooka\Development\SVN\Nazooka\hooks\mailer.py", line 1832,
in ?
  File "C:\Python24\Lib\site-packages\svn\core.py", line 217, in
    return apply(func, (_core.application_pool,) + args, kw)
  File "F:\Nazooka\Development\SVN\Nazooka\hooks\mailer.py", line 77,
in main
  File "F:\Nazooka\Development\SVN\Nazooka\hooks\mailer.py", line 392,
in generate
    group, params, paths, subpool)
  File "F:\Nazooka\Development\SVN\Nazooka\hooks\mailer.py", line 733,
in generate_content
    added_data=generate_list('A', changelist, paths, True),
  File "F:\Nazooka\Development\SVN\Nazooka\hooks\mailer.py", line 765,
in generate_list
    if selection(change) and paths.has_key(path) == in_paths:
  File "F:\Nazooka\Development\SVN\Nazooka\hooks\mailer.py", line 755,
in <lambda>
    selection = lambda change: change.action ==
AttributeError: ChangedPath instance has no attribute 'action'

I checked the ChangedPath class in the python bindings, and indeed, it
does not have an 'action' attribute.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 15 21:40:46 2006

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

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