diff -r 24f0b13e87d3 -r 55d7d9aea160 hgpoll.py --- a/hgpoll.py Fri Nov 28 23:24:06 2014 -0500 +++ b/hgpoll.py Sat Nov 29 16:37:36 2014 +0200 @@ -279,7 +279,10 @@ commit_message = match.group (2) commit_data.append ([commit_node, commit_message]) - print '%d new commits on %s' % (len (commit_data), repo_name) + process_new_commits (repo_name, commit_data) + +def process_new_commits (repo_name, commit_data): + Irc.broadcast ('%d new commits on %s' % (len (commit_data), repo_name)) if len (commit_data) > 0: pull_args = [];