diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit index cf4bec22161..ed3b97c3130 100755 --- a/BitKeeper/triggers/post-commit +++ b/BitKeeper/triggers/post-commit @@ -1,14 +1,21 @@ #!/bin/sh - shift - REPO=`bk gethost`:`pwd` - TO=dev@mysql.com - if [ -f BitKeeper/etc/pushed -a "$BK_COMMIT" = OK ] - then ( - echo ${USER}@"$@" - echo "" - bk changes - < BitKeeper/etc/pushed - ) | mail -s "Outgoing from $REPO" $TO - else - echo ${USER}@"$@"| mail -s "Outgoing from $REPO = $BK_OUTGOING" $TO - fi +shift +TO=dev@mysql.com +FROM=$USER@mysql.com + +if [ "$BK_COMMIT" = OK ] +then + echo "Commit successful, notifying developers at $TO" + ( + cat <