summaryrefslogtreecommitdiff
path: root/BitKeeper
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-01-16 21:33:08 +0000
committerChris Larson <clarson@kergoth.com>2004-01-16 21:33:08 +0000
commit60fca3e4dfb0ccfe4ef2c3e54867957238dc42c9 (patch)
treeaa139e38b99fe3ba54be7f6be30ffbe53a31460f /BitKeeper
parentedad2ef15be046e14f4e8815a29c374f215461d5 (diff)
Merge openembedded@openembedded.bkbits.net:packages
into direwolf.itg.ti.com:/home/kergoth/coding/projects/user/oe-metadata/packages 2004/01/16 15:23:51-06:00 ti.com!kergoth Merge openembedded@openembedded.bkbits.net:packages into direwolf.itg.ti.com:/home/kergoth/coding/projects/user/oe-metadata/packages 2004/01/16 15:23:39-06:00 ti.com!kergoth Attempt to fix multiline ChangeSet comments for the CIA notifications. BKrev: 40085894QTPOgksE3m_cWrpD2hmXmw
Diffstat (limited to 'BitKeeper')
-rw-r--r--BitKeeper/triggers/ciabot_bk.sh7
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/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`
module=`basename $BKD_ROOT | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`
-log=`bk changes -r"$REV" -d":C:" | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`
tag=`bk changes -r"$REV" -d":TAG:" | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`
for file in `bk changes -n -v -r"$REV" -d"\\\$unless(:GFILE:=ChangeSet){:GFILE:}" | sort -u | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/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/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'
+echo " </log>"
+cat <<EOF
</commit>
</body>
</message>