summaryrefslogtreecommitdiff
path: root/BitKeeper
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-03-26 19:49:24 +0100
committerunknown <serg@serg.mylan>2005-03-26 19:49:24 +0100
commit68717638d572dac02b82511809d3b5f9023c0872 (patch)
tree5bb56d7c3d40836dcfebc8a965a7fc7eab54177b /BitKeeper
parent3fd639493aea5c340acc2e28617e8d917d54ff7d (diff)
parentb18f2c2a89d3896873a2df20e443a6a0b953cccf (diff)
downloadmariadb-git-68717638d572dac02b82511809d3b5f9023c0872.tar.gz
Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1 acinclude.m4: Auto merged mysql-test/r/ps_1general.result: Auto merged
Diffstat (limited to 'BitKeeper')
-rwxr-xr-xBitKeeper/triggers/pre-commit11
1 files changed, 11 insertions, 0 deletions
diff --git a/BitKeeper/triggers/pre-commit b/BitKeeper/triggers/pre-commit
index 2293dc55e2a..524321e8b80 100755
--- a/BitKeeper/triggers/pre-commit
+++ b/BitKeeper/triggers/pre-commit
@@ -1,5 +1,16 @@
#!/bin/sh
+if [ "$BK_USER" = "Administrator" -o "$BK_USER" = "mysqldev" ]
+then
+ echo "Error: you cannot commit as 'Administrator' or 'mysqldev' user."
+ echo "as a workaround set BK_USER to your nickname"
+ echo "e.g.: export BK_USER='bar'"
+ echo ""
+ echo "Checkin FAILED!"
+ echo "Set BK_USER and retry."
+ exit 1
+fi
+
if [ "$REAL_EMAIL" = "" ]
then
echo "Error: you must set REAL_EMAIL in your profile"