diff options
author | unknown <serg@janus.mylan> | 2007-12-27 18:16:02 +0100 |
---|---|---|
committer | unknown <serg@janus.mylan> | 2007-12-27 18:16:02 +0100 |
commit | 7fdbc4230e68171e17e0dd4f6ae2d3fe3acb7549 (patch) | |
tree | b06c9309a63829e580019be688f7e51e47604caa /BitKeeper | |
parent | c1350b873165429f06b061565b91a0d423e39bdb (diff) | |
parent | 3fa2803a7737cd01aea6babd1c601649cab7968c (diff) | |
download | mariadb-git-7fdbc4230e68171e17e0dd4f6ae2d3fe3acb7549.tar.gz |
Merge janus.mylan:/usr/home/serg/Abk/mysql-5.1
into janus.mylan:/usr/home/serg/Abk/mysql-maria
Makefile.am:
Auto merged
configure.in:
Auto merged
BitKeeper/triggers/post-commit:
Auto merged
client/mysqldump.c:
Auto merged
client/mysqltest.c:
Auto merged
include/my_dbug.h:
Auto merged
include/mysql_com.h:
Auto merged
libmysql/CMakeLists.txt:
Auto merged
libmysqld/Makefile.am:
Auto merged
mysql-test/lib/mtr_report.pl:
Auto merged
mysql-test/mysql-test-run.pl:
Auto merged
mysql-test/t/disabled.def:
Auto merged
mysql-test/t/variables.test:
Auto merged
server-tools/instance-manager/CMakeLists.txt:
Auto merged
server-tools/instance-manager/mysql_connection.cc:
Auto merged
sql/Makefile.am:
Auto merged
sql/filesort.cc:
Auto merged
sql/gen_lex_hash.cc:
Auto merged
sql/ha_ndbcluster.cc:
Auto merged
sql/ha_partition.cc:
Auto merged
sql/item_func.cc:
Auto merged
sql/item_strfunc.cc:
Auto merged
sql/lex.h:
Auto merged
sql/lock.cc:
Auto merged
sql/log.cc:
Auto merged
sql/net_serv.cc:
Auto merged
sql/opt_range.cc:
Auto merged
sql/set_var.h:
Auto merged
sql/slave.cc:
Auto merged
sql/sql_class.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_delete.cc:
Auto merged
sql/sql_insert.cc:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_select.h:
Auto merged
sql/sql_table.cc:
Auto merged
sql/sql_update.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
sql/table.cc:
Auto merged
sql/table.h:
Auto merged
storage/myisam/ha_myisam.cc:
Auto merged
storage/myisam/mi_open.c:
Auto merged
storage/myisammrg/ha_myisammrg.cc:
Auto merged
sql/handler.cc:
merged
sql/handler.h:
merged
sql/mysql_priv.h:
merged
sql/mysqld.cc:
merged
sql/set_var.cc:
merged
sql/sql_select.cc:
merged
sql/sql_show.cc:
merged
unittest/mysys/my_atomic-t.c:
merged
Diffstat (limited to 'BitKeeper')
-rwxr-xr-x | BitKeeper/triggers/post-commit | 4 | ||||
-rwxr-xr-x | BitKeeper/triggers/pre-delta | 15 |
2 files changed, 17 insertions, 2 deletions
diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit index c3a61ed2dde..abc9de5cb4e 100755 --- a/BitKeeper/triggers/post-commit +++ b/BitKeeper/triggers/post-commit @@ -11,7 +11,7 @@ FROM=$COMMITTER@mysql.com COMMITS=commits@lists.mysql.com DOCS=docs-commit@mysql.com LIMIT=10000 -VERSION="5.1" +VERSION="maria" BKROOT=`bk root` if [ -x /usr/sbin/sendmail ]; then @@ -103,7 +103,7 @@ see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html EOF bk changes -v -r+ bk rset -r+ -ah | bk gnupatch -h -dup -T - ) | bk sed -e ${LIMIT}q > $BKROOT/BitKeeper/tmp/commits.txt + ) > $BKROOT/BitKeeper/tmp/commits.txt $SENDMAIL -t < $BKROOT/BitKeeper/tmp/commits.txt diff --git a/BitKeeper/triggers/pre-delta b/BitKeeper/triggers/pre-delta index cd861703bb5..d6afe0905e7 100755 --- a/BitKeeper/triggers/pre-delta +++ b/BitKeeper/triggers/pre-delta @@ -20,3 +20,18 @@ then exit 1 fi +# detect if C/C++ files have new trailing white space +trailingblank=`echo $BK_FILE | egrep '\.(c|.h)'` +if [ -n "$trailingblank" ] +then + trailingblank=`bk diffs $BK_FILE | grep '^> .*[[:space:]]$'` + if [ -n "$trailingblank" ] + then + echo "bk diffs $BK_FILE | grep '^> .*[[:space:]]$'" + echo "reported white space at end of some added/modified lines" + echo "" + echo "Checkin FAILED!" + echo "Fix the problem and retry." + exit 1 + fi +fi |