10

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 ?

bahrep
  • 29,961
  • 12
  • 103
  • 150
mafalda
  • 1,024
  • 1
  • 13
  • 24

2 Answers2

7

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?

akond
  • 15,865
  • 4
  • 35
  • 55
  • ofcourse- doh moment. I should have specified only eclipse because I want to use it from inside eclipse -subclipse plugin – mafalda Jan 26 '11 at 00:11
6

Not sure if it's any help in your particular case, but TortoiseSVN (on Windows) supports client-side hooks.

onnodb
  • 5,241
  • 1
  • 32
  • 41