On Jun 22, 2012, at 07:27, Nico Kadel-Garcia wrote:
> On Fri, Jun 22, 2012 at 3:34 AM, dhanushka ranasinghe wrote:
>
>> some times when we committing to svn we get this error, any reason for
>> that,not all the time
>>
>> Warning: post-commit hook failed (exit code 1) with output:
>> /usr/lib/subversion-back/hook-scripts/mailer/mailer.py:33:
>> DeprecationWarning: The popen2 module is deprecated. Use the subprocess
>> module.
>
> A lot of published post-commit tools are very powerful, and far too
> compicated for many server-class operations. If you can simplify your
> post-commit behavior to a small, well-defined task that can be run
> from a few lines of shell or perl, I think you'll be a *lot* happier
> in the long run than with complex python tools.
That may be, but mailer.py is the official Subversion-developer-approved post-commit-hook email script, so if it is not working correctly, I'm sure they'll want to fix it.
Received on 2012-06-23 05:08:13 CEST