From bfa24d75b686522e81faf9e16fbfdcf2789a6f2a Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Thu, 4 Oct 2012 17:31:47 -0400 Subject: [PATCH] post-receive: Send test-post-receive pushes to class test (imported from commit 8f187464a4d82da071ffed79abf33ea05b999b95) --- tools/post-receive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/post-receive b/tools/post-receive index 28c3f4fce5..cbf403f4a9 100755 --- a/tools/post-receive +++ b/tools/post-receive @@ -44,7 +44,7 @@ def process_push(oldrev, newrev, refname): commits = subprocess.check_output(["git", "log", "--reverse", "--pretty=- %s", "%s..%s" % (oldrev, newrev)]) message_data = { "type": "class", - "class": "devel", + "class": "test" if refname == "refs/heads/test-post-receive" else "devel", "instance": "commits", "content": "The following commits were just pushed to `%s`:\n\n" % (refname.replace("refs/heads/", ""),) + commits,