cobalt.py

changeset 37
3399d716b3ae
parent 36
543d7a5e3b8b
child 38
71046c4430d1
equal deleted inserted replaced
36:543d7a5e3b8b 37:3399d716b3ae
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:

mercurial