Commit a0a9aa9d authored by sasha@mysql.sashanet.com's avatar sasha@mysql.sashanet.com
Browse files

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

parent 7ec829b3
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
#!/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