1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

post-commit BitKeeper file /home/sasha/src/bk/mysql/BitKeeper/triggers/post-commit

This commit is contained in:
unknown
2000-10-18 19:03:36 -06:00
parent 5e9cbfe06a
commit e77e75ead9

View File

@ -0,0 +1,14 @@
#!/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