diff options
-rw-r--r-- | BitKeeper/triggers/ciabot_bk.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/BitKeeper/triggers/ciabot_bk.sh b/BitKeeper/triggers/ciabot_bk.sh index 9140147306..f053251298 100644 --- a/BitKeeper/triggers/ciabot_bk.sh +++ b/BitKeeper/triggers/ciabot_bk.sh @@ -27,7 +27,6 @@ cia_address="cia@navi.cx" author=`echo $BK_USER | sed 's/\&/\&/g;s/</\</g;s/>/\>/g'` module=`basename $BKD_ROOT | sed 's/\&/\&/g;s/</\</g;s/>/\>/g'` -log=`bk changes -r"$REV" -d":C:" | sed 's/\&/\&/g;s/</\</g;s/>/\>/g'` tag=`bk changes -r"$REV" -d":TAG:" | sed 's/\&/\&/g;s/</\</g;s/>/\>/g'` for file in `bk changes -n -v -r"$REV" -d"\\\$unless(:GFILE:=ChangeSet){:GFILE:}" | sort -u | sed 's/\&/\&/g;s/</\</g;s/>/\>/g'`; do files="$files<file>$file</file>" @@ -55,7 +54,11 @@ Subject: DeliverXML <revision>$REV</revision> <author>$author</author> <files>$files</files> - <log>$log</log> +EOF +echo " <log>" +bk changes -r"$REV" -d"\$if(:C:){\$each(:C:){:C:\\\n}}" | sed 's/\&/\&/g;s/</\</g;s/>/\>/g' +echo " </log>" +cat <<EOF </commit> </body> </message> |