summaryrefslogtreecommitdiff
path: root/BitKeeper/triggers/post-commit
diff options
context:
space:
mode:
Diffstat (limited to 'BitKeeper/triggers/post-commit')
-rwxr-xr-xBitKeeper/triggers/post-commit9
1 files changed, 8 insertions, 1 deletions
diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit
index b4b37742872..bb1f235204a 100755
--- a/BitKeeper/triggers/post-commit
+++ b/BitKeeper/triggers/post-commit
@@ -5,6 +5,13 @@ TO=dev@mysql.com
FROM=$USER@mysql.com
LIMIT=10000
+if [ "$REAL_EMAIL" = "" ]
+then
+ echo "Warning: you must set REAL_EMAIL in your profile"
+else
+ FROM=$REAL_EMAIL
+fi
+
BK_STATUS=$BK_STATUS$BK_COMMIT
if [ "$BK_STATUS" = OK ]
@@ -15,7 +22,7 @@ then
List-ID: <bk.mysql>
From: $FROM
To: $TO
-Subject: bk commit
+Subject: bk commit - 4.0 tree
EOF
bk changes -v -r+