summaryrefslogtreecommitdiff
path: root/BitKeeper/triggers
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-04-05 15:16:15 +0200
committerunknown <serg@serg.mylan>2005-04-05 15:16:15 +0200
commitf50dc99d24617fbbe9c532070e9e4fd0d69dfe3f (patch)
tree3584a090b6a4c47216786f4631f466066a703d47 /BitKeeper/triggers
parent7d865e0b12f98855d6b8687586a994f91764bc75 (diff)
downloadmariadb-git-f50dc99d24617fbbe9c532070e9e4fd0d69dfe3f.tar.gz
add changeset key to the bk commit mail
Diffstat (limited to 'BitKeeper/triggers')
-rwxr-xr-xBitKeeper/triggers/post-commit3
1 files changed, 3 insertions, 0 deletions
diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit
index d2a4f9153b2..4c28b408658 100755
--- a/BitKeeper/triggers/post-commit
+++ b/BitKeeper/triggers/post-commit
@@ -27,6 +27,7 @@ then
fi
CHANGESET=`bk -R prs -r+ -h -d':P:::I:' ChangeSet`
+CSETKEY=`bk -R prs -r+ -h -d':KEY:' ChangeSet`
BUG=`bk -R prs -r+ -h -d':C:' ChangeSet | sed -ne 's/^.*[Bb][Uu][Gg] *# *\([0-9][0-9]*\).*$/\1/p'`
if [ "$BUG" = "" ]
@@ -51,6 +52,7 @@ List-ID: <bk.mysql-$VERSION>
From: $FROM
To: $TO
Subject: bk commit - $VERSION tree ($CHANGESET)$BS
+X-CSetKey: <$CSETKEY>
$BH
EOF
bk changes -v -r+
@@ -67,6 +69,7 @@ List-ID: <bk.mysql-$VERSION>
From: $FROM
To: $INTERNALS
Subject: bk commit into $VERSION tree ($CHANGESET)$BS
+X-CSetKey: <$CSETKEY>
$BH
Below is the list of changes that have just been committed into a local
$VERSION repository of $USER. When $USER does a push these changes will