进入相应SVN仓库hooks目录,编辑文件pre-commit #!/bin/sh # PRE-COMMIT HOOK## The pre-commit hook is invoked before a Subversion txn is# committed. Subversion runs this hook by invoking a program# (script, executable, binary, etc.) named 'pre-commit' (for which# thi