summaryrefslogtreecommitdiff
path: root/BitKeeper
diff options
context:
space:
mode:
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