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 5cac63e3a8
commit 824a4d5c05

View file

@ -109,7 +109,7 @@ def send_bot_message(oldrev, newrev, refname):
if added:
message += '\n**and adding**:\n\n' + added
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:
message = '`%s` was deployed to `%s` with:\n\n%s' % (new_head, branch, added)
else: