summaryrefslogtreecommitdiff
path: root/BitKeeper
diff options
context:
space:
mode:
authoriggy@rolltop.ignatz42.dyndns.org <>2006-09-13 14:18:36 -0400
committeriggy@rolltop.ignatz42.dyndns.org <>2006-09-13 14:18:36 -0400
commite9ff111d1ecd46202fd8c817a472db20a9e788be (patch)
treec406c9ea485e6527f031cd19a08cfd627a4cf3d4 /BitKeeper
parent3d2c5738334d7a969411b9609aa7d22f1bf137e6 (diff)
parent1cae186141bdde3bb7a865b9ec4838ff6533bad2 (diff)
downloadmariadb-git-e9ff111d1ecd46202fd8c817a472db20a9e788be.tar.gz
Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/winbkfix/my50-winbkfix
into rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.0-maint
Diffstat (limited to 'BitKeeper')
-rwxr-xr-xBitKeeper/triggers/post-commit12
1 files changed, 9 insertions, 3 deletions
diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit
index 22d183eae3a..37bdfc93a4a 100755
--- a/BitKeeper/triggers/post-commit
+++ b/BitKeeper/triggers/post-commit
@@ -6,6 +6,7 @@ COMMITS=commits@lists.mysql.com
DOCS=docs-commit@mysql.com
LIMIT=10000
VERSION="5.0"
+BKROOT=`bk root`
if [ "$REAL_EMAIL" = "" ]
then
@@ -58,7 +59,9 @@ $BH
EOF
bk changes -v -r+
bk cset -r+ -d
- ) | /usr/sbin/sendmail -t
+ ) > $BKROOT/BitKeeper/tmp/dev_public.txt
+
+bk sendmail -t < $BKROOT/BitKeeper/tmp/dev_public.txt
#++
# commits@ mail
@@ -82,7 +85,9 @@ see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
EOF
bk changes -v -r+
bk cset -r+ -d
- ) | head -n $LIMIT | /usr/sbin/sendmail -t
+ ) | bk sed -e ${LIMIT}q > $BKROOT/BitKeeper/tmp/commits.txt
+
+bk sendmail -t < $BKROOT/BitKeeper/tmp/commits.txt
#++
# docs-commit@ mail
@@ -102,7 +107,8 @@ Subject: bk commit - $VERSION tree (Manual) ($CHANGESET)$BS
EOF
bk changes -v -r+
bk cset -r+ -d
- ) | /usr/sbin/sendmail -t
+ ) > $BKROOT/BitKeeper/tmp/docs.txt
+ bk sendmail -t < $BKROOT/BitKeeper/tmp/docs.txt
fi
else