Is any way to setup pre-commit hooks on the client side with an svn client, for example through eclipse or a command line svn client ?
No. But you can alias your own script to svn, so it gets called every time you type svn
. The script then calls actual svn. How about that?
Not sure if it's any help in your particular case, but TortoiseSVN (on Windows) supports client-side hooks.
来源:https://stackoverflow.com/questions/4798201/client-side-pre-commit-hooks-in-subversion