summaryrefslogtreecommitdiff
path: root/BitKeeper
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-02-10 14:23:05 -0800
committerunknown <jimw@mysql.com>2005-02-10 14:23:05 -0800
commit77d246157656e572fcf3e13ba95f066b99a07e1f (patch)
tree0f090b00f36c8afa8a44684ee22a55e0e87e3e17 /BitKeeper
parent82de648bc4a52b93eccbcc48a440413c09a5f721 (diff)
parent577a20f0943006687059981949d3c93cb2ae58ab (diff)
downloadmariadb-git-77d246157656e572fcf3e13ba95f066b99a07e1f.tar.gz
Merge bk-internal:/home/bk/mysql-4.0
into mysql.com:/home/jimw/my/mysql-4.0-clean
Diffstat (limited to 'BitKeeper')
-rwxr-xr-xBitKeeper/triggers/post-commit19
1 files changed, 13 insertions, 6 deletions
diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit
index 1c4608835d6..5dc351024e0 100755
--- a/BitKeeper/triggers/post-commit
+++ b/BitKeeper/triggers/post-commit
@@ -20,13 +20,19 @@ if [ "$BK_STATUS" = OK ]
then
CHANGESET=`bk -R prs -r+ -h -d':P:::I:' ChangeSet`
-BUG=`bk -R prs -r+ -h -d':C:' ChangeSet | sed -ne 's/^.*[Bb][Uu][Gg] *# *\([0-9][0-9]*\).*$/ BUG#\1/p'`
+BUG=`bk -R prs -r+ -h -d':C:' ChangeSet | sed -ne 's/^.*[Bb][Uu][Gg] *# *\([0-9][0-9]*\).*$/\1/p'`
if [ "$BUG" = "" ]
then
TO=dev-public@mysql.com
+ BS=""
+ BH=""
else
TO=dev-bugs@mysql.com
+ BS=" BUG#$BUG"
+# need newline here
+ BH="X-Bug: $BUG
+"
fi
#++
# dev-public@ / dev-bugs@
@@ -37,8 +43,8 @@ fi
List-ID: <bk.mysql-$VERSION>
From: $FROM
To: $TO
-Subject: bk commit - $VERSION tree ($CHANGESET)$BUG
-
+Subject: bk commit - $VERSION tree ($CHANGESET)$BS
+$BH
EOF
bk changes -v -r+
bk cset -r+ -d
@@ -53,14 +59,15 @@ EOF
List-ID: <bk.mysql-$VERSION>
From: $FROM
To: $INTERNALS
-Subject: bk commit into $VERSION tree ($CHANGESET)
+Subject: bk commit into $VERSION tree ($CHANGESET)$BS
+$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
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
-see http://www.mysql.com/doc/I/n/Installing_source_tree.html
+see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
EOF
bk changes -v -r+
@@ -80,7 +87,7 @@ EOF
List-ID: <bk.mysql-$VERSION>
From: $FROM
To: $DOCS
-Subject: bk commit - $VERSION tree (Manual) ($CHANGESET)
+Subject: bk commit - $VERSION tree (Manual) ($CHANGESET)$BS
EOF
bk changes -v -r+