2006/10/24, Sid Wiesner <[EMAIL PROTECTED]>: > > Norbert Unterberg wrote: > > some time ago I was trying a script that could be called from a > > subversion "post-commit"-hook. It would automatically add the commit > > message to a ticket as comment. > > > > Does this script still exist, where can I find it? I can't remember > > where I got it from. > > Can I run this script on a windows machine? > > Yep, it should work on Windows (I have it running on a Win2k3 server), > although you'll probably need Cygwin installed so that shell scripts > or perl scripts work.
Ok, I found it and now remember why I did not manage to make it work. I can not install cygwin or pearl on the server (since it is not my server), and I did not manage to extract the log message from the output of svnadmin. Has anyone a script in Windows NT CMD shell or in python to pass the log message to the trac-post-commit hook? Otherwise, I would need to learn python... Norbert --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users -~----------~----~----~----~------~----~------~--~---
