Rossiar
Rossiar

Reputation: 2564

Eclipse Subversive/Subclipse pre-commit hook

I want Eclipse to run my local Maven build/test before committing my changes to my SVN repository. I have no control over server side commit hooks, but I want to introduce my own client side hooks for my team.

I know about pre-commit hooks and I am using Eclipse Subversive on a custom Eclipse Luna.

Is this feature not supported or have I missed something obvious?

Upvotes: 1

Views: 1362

Answers (2)

Stefan Zugal
Stefan Zugal

Reputation: 11

Yes, pre-commit hooks are primarily supported by SVN on server-side. However, with a little bit of creativity you can also implement them on the client side within Eclipse.

We have had both Subversive and Subclipse for custom pre-commit hooks:

Upvotes: 0

bahrep
bahrep

Reputation: 30662

Hook scripts are executed on server side only. TortoiseSVN is capable of running client side hook scripts, however this feature is unique to TortoiseSVN and won't work when committing from Eclipse.

Upvotes: 2

Related Questions