post-receive: Use a different subject name for each push

(imported from commit 983c34faa52bec9a7af4d26a326bbb8cc4a08bea)
This commit is contained in:
Keegan McAllister 2012-10-17 00:02:27 -04:00
parent 2c9830ac5b
commit bd8a4cb4ab
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ def send_bot_message(oldrev, newrev, refname):
message_data = { message_data = {
"type": "stream", "type": "stream",
"stream": "test" if refname == "refs/heads/test-post-receive" else "devel", "stream": "test" if refname == "refs/heads/test-post-receive" else "devel",
"subject": "commits", "subject": "push-" + new_head,
"content": message, "content": message,
"recipient": "tabbott@humbughq.com", "recipient": "tabbott@humbughq.com",
} }