357 |
357 |
358 if commit_trackeruser != '': |
358 if commit_trackeruser != '': |
359 commit_author += ' [%s]' % commit_trackeruser |
359 commit_author += ' [%s]' % commit_trackeruser |
360 #fi |
360 #fi |
361 |
361 |
362 message = 'Issue addressed by commit %s: [b][url="%s/commits/%s"]%s[/url][/b]' \ |
362 message = 'Issue addressed by commit %s: [b][url=%s/commits/%s]%s[/url][/b]' \ |
363 % (commit_node, repo_url, commit_node, commit_message) |
363 % (commit_node, repo_url, commit_node, commit_message) |
364 message += "\nCommitted by %s on %s\n\n%s" \ |
364 message += "\nCommitted by %s on %s\n\n%s" \ |
365 % (commit_author, commit_date, commit_diffstat) |
365 % (commit_author, commit_date, commit_diffstat) |
366 |
366 |
367 if len (files_added) > 0: |
367 if len (files_added) > 0: |