diff options
Diffstat (limited to 'BitKeeper/post-outgoing')
-rw-r--r-- | BitKeeper/post-outgoing | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/BitKeeper/post-outgoing b/BitKeeper/post-outgoing new file mode 100644 index 00000000000..5b16dec6c15 --- /dev/null +++ b/BitKeeper/post-outgoing @@ -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 |