1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-26 01:44:06 +03:00
Files
mariadb/BitKeeper/triggers/post-commit
sasha@mysql.sashanet.com fddab55df3 BitKeeper/triggers/post-commit
send the diffs
Docs/manual.texi
    updated change history
include/my_sys.h
    Moved safemalloc_mem_limit here
mysys/safemalloc.c
    fixed up safemalloc_mem_limit
sql/mysqld.cc
    moved safemalloc_mem_limit declaration to my_sys.h
2000-11-04 21:00:41 -07:00

23 lines
341 B
Bash
Executable File

#!/bin/sh
shift
TO=dev@mysql.com
FROM=$USER@mysql.com
if [ "$BK_COMMIT" = OK ]
then
echo "Commit successful, notifying developers at $TO"
(
cat <<EOF
From: $FROM
To: $TO
Subject: bk commit
EOF
bk changes -v -r+
bk cset -r+ -d
) | /usr/sbin/sendmail -t
else
echo "commit failed because '$BK_COMMIT', sorry life is hard..."
fi