# that ratetables could still sneak when, but we'll give
# people the benefit of the doubt.
+. $(dirname $0)/functions
+
# Command line
refname="$1"
oldrev="$2"
if expr "$oldrev" : '0*$' >/dev/null ; then
if expr "$refname" : '.*[A-Z].*' ; then
- echo "----------------------------------------------------"
- echo
- echo "Please prefer underscored branch names (e.g. rate_tables)"
- echo "instead of camel-casing branch names (e.g. rateTables)."
- echo
- echo "----------------------------------------------------"
+ display_error_message "Please use underscored branch names (e.g. rate_tables)"
exit 1
fi
fi