pre-commit script for subversion hook