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

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

parent d8d30566
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_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