Hello!
I use the trac post-commit-hook successfull since a few month.
But now I am a bit lazy and would like to drop the "refs-command"
before ticket number in Subversion commit comments
My Python programming skills are not very good, I tried to add the
following lines before line 168 in trac-post-commit-hook from [1]:
for tkt_id in ticket_re.findall(self.msg):
tickets.setdefault(tkt_id, []).append('_cmdRefs')
But this doesn't work! I want every ticket found in commit comment
gets an Trac Ticket comment.
Whats wrong here?
Thanks for your help!
Richie
[1]: http://trac.edgewall.org/browser/trunk/contrib/trac-post-commit-hook
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---