post-receive: Send a notification to @everyone on non-fastforward

(imported from commit 8fc232dbef4b9b87f30f0b68c6407c43fd8553ba)
This commit is contained in:
Keegan McAllister 2013-02-19 17:39:55 -05:00
parent 9ef3754682
commit 8f5031687c
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ def send_bot_message(oldrev, newrev, refname):
if added: if added:
message += '\n**and adding**:\n\n' + added message += '\n**and adding**:\n\n' + added
message += '\n**A HISTORY REWRITE HAS OCCURRED!**' message += '\n**A HISTORY REWRITE HAS OCCURRED!**'
message += '\nPlease check your local branches to deal with this.' message += '\n@everyone: Please check your local branches to deal with this.'
elif added: elif added:
message = '`%s` was deployed to `%s` with:\n\n%s' % (new_head, branch, added) message = '`%s` was deployed to `%s` with:\n\n%s' % (new_head, branch, added)
else: else: