summaryrefslogtreecommitdiff
path: root/BitKeeper/triggers
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-04-02 22:12:39 +0200
committerunknown <serg@serg.mylan>2004-04-02 22:12:39 +0200
commita10f6147f386c007031de21e856817cdd835ecf5 (patch)
tree6c59c2b5e75e0d5d739280be330152ce6e6db4d4 /BitKeeper/triggers
parent6429b1beb0685d75f9229aca58aa4b33ae1b5300 (diff)
downloadmariadb-git-a10f6147f386c007031de21e856817cdd835ecf5.tar.gz
trying pre-delta trigger
Diffstat (limited to 'BitKeeper/triggers')
-rwxr-xr-xBitKeeper/triggers/pre-delta12
1 files changed, 12 insertions, 0 deletions
diff --git a/BitKeeper/triggers/pre-delta b/BitKeeper/triggers/pre-delta
new file mode 100755
index 00000000000..68c0ec30107
--- /dev/null
+++ b/BitKeeper/triggers/pre-delta
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ `tail -c1 $BK_FILE` != "
+" ]
+then
+ echo "File $BK_FILE does not end with a new-line character!"
+ echo ""
+ echo "Checkin FAILED!"
+ echo "Fix the problem and retry."
+ exit 1
+fi
+