summaryrefslogtreecommitdiff
path: root/BitKeeper
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-12-05 07:38:54 +0000
committerChris Larson <clarson@kergoth.com>2003-12-05 07:38:54 +0000
commitbd684a02eb01f6c50124dd5e83c9d44ecdcec12b (patch)
tree11cb7f6a7e1c64e8771246db527fdf11bdce708a /BitKeeper
parent367362d3ec726a2ff566a6c72702acc8c0f07672 (diff)
Merge openembedded@openembedded.bkbits.net:packages
into direwolf.ppp.ti.com:/home/kergoth/coding/projects/user/oe-metadata/packages 2003/12/05 01:38:43-06:00 ti.com!kergoth Dont email CIA when there are no csets to send.. BKrev: 3fd0360e4TmKc4MdgsUUb6-Fb67Ntg
Diffstat (limited to 'BitKeeper')
-rw-r--r--BitKeeper/triggers/post-outgoing.ciabot5
1 files changed, 3 insertions, 2 deletions
diff --git a/BitKeeper/triggers/post-outgoing.ciabot b/BitKeeper/triggers/post-outgoing.ciabot
index d98f06f596..cf45b05c99 100644
--- a/BitKeeper/triggers/post-outgoing.ciabot
+++ b/BitKeeper/triggers/post-outgoing.ciabot
@@ -84,6 +84,8 @@ then
CHANGECMD="$CHANGECMD -v"
fi
+if [ X$BK_CSETLIST != X ]
+then
echo "Sending notification mail to $COMMITADDRESS..."
(
@@ -93,12 +95,11 @@ R_OUT=`echo $RD | sed "s,.*/,,"`
echo repository={green}${R_OUT}{normal} $U_OUT
# See "bk help prs" for documentation on the formatting string.
-if [ X$BK_CSETLIST != X ]
-then
(
$CHANGECMD -d'$if(:GFILE:=ChangeSet){{orange}ChangeSet@:REV:{normal}$if(:TAG:){ tags={red}:TAG:{normal}} $if(:C:){:C:}\n}$unless(:GFILE:=ChangeSet){* :GFILE:$if(:C:){: $each(:C:){(:C:)}}\n}' - < $BK_CSETLIST
)
fi
) | mail -s "Announce `echo -n $IRCCHANNEL | sed 's,.*/,,'`" $COMMITADDRESS
echo "done."
+fi
exit 0