summaryrefslogtreecommitdiff
path: root/BitKeeper/post-outgoing
blob: 5b16dec6c1546db3e8b3bf2ac924be6e1bc71133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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