List:Commits« Previous MessageNext Message »
From:iggy Date:September 11 2006 11:17pm
Subject:bk commit into 5.0 tree (iggy:1.2262)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of ted. When ted 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://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2006-09-11 17:17:25-04:00, iggy@area51. +1 -0
  post-commit trigger change to make working on Windows development platform easier.

  BitKeeper/triggers/post-commit@stripped, 2006-09-11 17:17:23-04:00, iggy@area51. +9 -3
    post-commit trigger writes emails to file in the BitKeeper/tmp directory before
sending.
    Now uses bk sendmail instead of hardcoded /usr/sbin/sendmail to send message.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	iggy
# Host:	area51.
# Root:	C:/src/mysql-5.0-maint

--- 1.38/BitKeeper/triggers/post-commit	2006-09-11 17:17:38 -04:00
+++ 1.39/BitKeeper/triggers/post-commit	2006-09-11 17:17:38 -04:00
@@ -6,6 +6,7 @@
 DOCS=docs-commit@stripped
 LIMIT=10000
 VERSION="5.0"
+BKROOT=`bk root`
 
 if [ "$REAL_EMAIL" = "" ]
 then
@@ -58,7 +59,9 @@
 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 @@
 EOF
   bk changes -v -r+
   bk cset -r+ -d
- ) | head -n $LIMIT | /usr/sbin/sendmail -t
+ ) | head -n $LIMIT > $BKROOT/BitKeeper/tmp/commits.txt
+ 
+bk sendmail -t < $BKROOT/BitKeeper/tmp/commits.txt
 
 #++
 # docs-commit@ mail
@@ -102,7 +107,8 @@
 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
Thread
bk commit into 5.0 tree (iggy:1.2262)iggy11 Sep