Commit 6a4cff94 authored by unknown's avatar unknown

post-commit limit mail to 10,000 lines


BitKeeper/triggers/post-commit:
  limit mail to 10,000 lines
parent 2ac92eb4
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#shift #shift
TO=dev@mysql.com TO=dev@mysql.com
FROM=$USER@mysql.com FROM=$USER@mysql.com
LIMIT=10000
BK_STATUS=$BK_STATUS$BK_COMMIT BK_STATUS=$BK_STATUS$BK_COMMIT
...@@ -19,7 +20,7 @@ Subject: bk commit ...@@ -19,7 +20,7 @@ Subject: bk commit
EOF EOF
bk changes -v -r+ bk changes -v -r+
bk cset -r+ -d bk cset -r+ -d
) | /usr/sbin/sendmail -t ) | head -n $LIMIT | /usr/sbin/sendmail -t
else else
echo "commit failed because '$BK_STATUS', sorry life is hard..." echo "commit failed because '$BK_STATUS', sorry life is hard..."
fi fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment