ciabot_bk.sh: Change 'author' of the cset as sent to CIA to be the actual author...
authorChris Larson <clarson@kergoth.com>
Thu, 23 Sep 2004 16:23:47 +0000 (16:23 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 23 Sep 2004 16:23:47 +0000 (16:23 +0000)
BKrev: 4152f893ul-CqRbx9wb0AYYkiEaI6A

BitKeeper/triggers/ciabot_bk.sh

index cd2892a..aa61599 100644 (file)
@@ -25,7 +25,7 @@ REV="$1"
 # The email address CIA lives at
 cia_address="cia@navi.cx"
 
-author=`echo $BK_USER | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`
+author=`bk changes -r"$REV" -d":P:" | sed 's/\&/\&amp;/g;s/</\&lt;/g;s/>/\&gt;/g'`
 module=`basename $BKD_ROOT | 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