summaryrefslogtreecommitdiff
path: root/BitKeeper/triggers/post-commit
diff options
context:
space:
mode:
Diffstat (limited to 'BitKeeper/triggers/post-commit')
-rwxr-xr-xBitKeeper/triggers/post-commit18
1 files changed, 18 insertions, 0 deletions
diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit
index 2e2c9b50970..6639366f622 100755
--- a/BitKeeper/triggers/post-commit
+++ b/BitKeeper/triggers/post-commit
@@ -3,6 +3,7 @@
#shift
TO=dev-public@mysql.com
FROM=$USER@mysql.com
+INTERNALS=internals@lists.mysql.com
LIMIT=10000
if [ "$REAL_EMAIL" = "" ]
@@ -28,6 +29,23 @@ EOF
bk changes -v -r+
bk cset -r+ -d
) | head -n $LIMIT | /usr/sbin/sendmail -t
+ echo "Notifying internals list at $INTERNALS"
+ (
+ cat <<EOF
+List-ID: <bk.mysql>
+From: $FROM
+To: $INTERNALS
+Subject: bk commit into 3.23 tree
+
+Below is the list of changes that have just been pushed into main
+3.23. repository. For information on how to access the repository
+see http://www.mysql.com/doc/I/n/Installing_source_tree.html
+>>>>>>> BitKeeper/tmp/post-commit_sasha@1.8.1.3
+
+EOF
+ bk changes -v -r+
+ bk cset -r+ -d
+ ) | head -n $LIMIT | /usr/sbin/sendmail -t
else
echo "commit failed because '$BK_STATUS', sorry life is hard..."
fi