post-outgoing BitKeeper file /home/sasha/src/bk/mysql/BitKeeper/post-outgoing

This commit is contained in:
unknown 2000-10-18 18:50:38 -06:00
parent 0c7038bddc
commit 5e9cbfe06a

14
BitKeeper/post-outgoing Normal file
View file

@ -0,0 +1,14 @@
#!/bin/sh
shift
REPO=`bk gethost`:`pwd`
TO=dev@mysql.com
if [ -f BitKeeper/etc/pushed -a "$BK_OUTGOING" = 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